Opened 11 years ago
Closed 11 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 )
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)
Change History (10)
by , 11 years ago
comment:1 by , 11 years ago
Description: | modified (diff) |
---|
comment:3 by , 11 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 , 11 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:5 by , 11 years ago
You can find an example here: https://github.com/misev/rasdaman-import/tree/master/util/insertbin
comment:6 by , 11 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 , 11 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:8 by , 11 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
Problem not quite solved, sometimes the install fails because $(instalation_folder)/shared/rasdaman/examples/c++ directory does not exist. Patch submitted.
comment:9 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
error