Opened 10 years ago

Closed 10 years ago

#697 closed defect (fixed)

.deps/insertppm.Po: No such file or directory

Reported by: fxavier Owned by: fxavier
Priority: minor Milestone: 9.0.x
Component: applications Version: development
Keywords: Cc:
Complexity: Medium

Description (last modified by fxavier)

So, after installing rasdaman from the latest version of GIT repo (and most likely from other sources too), and after having RASDAMAN running, you have some example applications you can run (C++, Java, …). However, by trying to compile the source C++ application files, one gets the following error, after doing make on the makefile under

$RASHOME/share/rasdaman/examples/c++/ :

$ make
Makefile:345: .deps/insertppm.Po: No such file or directory
Makefile:346: .deps/query.Po: No such file or directory
make: * No rule to make target `.deps/query.Po'. Stop.

Attachments (1)

error.png (840.4 KB ) - added by fxavier 10 years ago.
error

Download all attachments as: .zip

Change History (10)

by fxavier, 10 years ago

Attachment: error.png added

error

comment:1 by fxavier, 10 years ago

Description: modified (diff)

comment:2 by Dimitar Misev, 10 years ago

That is in the install dir, there should be no Makefile actually.

comment:3 by fxavier, 10 years ago

Not according to Peter, no. And quite honestly, it makes NO SENSE, having to go for the GIT repo and look for the examples there. You install something, and if it comes with example source files, you run them with the installation folder, and not in the source files (yet to be installed). In case you install rasdaman from a package or other source other than GIT, you erase those files right after installation, for a clean OS.

xavier

comment:4 by Dimitar Misev, 10 years ago

Ok then you'll probably need to manually write a Makefile that will be distributed with those examples, i.e. you can't rely on the one generated from the Makefile.am for this.

comment:6 by fxavier, 10 years ago

Problem Solved. I created a Makefile that is automatically installed with the main "make install" (in the root folder, completely transparent to the user). It is installed in the

$(instalation_folder)/shared/rasdaman/examples/c++

Where the C++ source example files are also installed, and by doing MAKE in this location, both examples are compiled at once (query and insertppm), in the same Makefile.

You can run the examples in the installation folder from now on, completely disregarding, in this way, the repository source.

comment:7 by fxavier, 10 years ago

Resolution: fixed
Status: newclosed

comment:8 by Dimitar Misev, 10 years ago

Resolution: fixed
Status: closedreopened

Problem not quite solved, sometimes the install fails because $(instalation_folder)/shared/rasdaman/examples/c++ directory does not exist. Patch submitted.

comment:9 by Dimitar Misev, 10 years ago

Resolution: fixed
Status: reopenedclosed
Note: See TracTickets for help on using tickets.