[ptx] Still JAVA problems (was: build with GNU autotools)

Douglas Wilkins douglasw at zahav.net.il
Wed Nov 10 06:08:59 GMT 2004


On Tue, 2004-11-09 at 22:04 +0100, Gerhard Gaussling wrote:
[snip]
> everything seems to work and JAVA is detected correctly
>   JAVA_FLAGS     = -I/usr/lib/j2sdk1.4-sun/include \ 
> -I/usr/lib/j2sdk1.4-sun/include/linux -DHasJava

Good, hopefully this problem has now been solved :-)

> 
> But there is one thing that doesn't work:
> the tools are assumed in the wrong directory - the .libs dir, but they 
> are generated in the tools directory. 

?? On my machine, after running make, two things are created, a wrapper
script called PTOptimizer in the tools directory to allow PTOptimizer to
run from that directory, and the executable, PTOptimizer itself in
the .libs directory.

> 
> Making install in tools
> make[1]: Entering directory 
> `/var/backups/download/graphics/panotools/libpano/tools'
> make[2]: Entering directory 
> `/var/backups/download/graphics/panotools/libpano/tools'
> test -z "/usr/local/bin" || mkdir -p -- "/usr/local/bin"
>   /bin/sh ../libtool --mode=install /usr/bin/install -c 'panoinfo' 
> '/usr/local/bin/panoinfo'
> /usr/bin/install -c .libs/panoinfo /usr/local/bin/panoinfo
>   /bin/sh ../libtool --mode=install /usr/bin/install -c 'PTOptimizer' 
> '/usr/local/bin/PTOptimizer'
> /usr/bin/install -c .libs/PTOptimizer /usr/local/bin/PTOptimizer
> -----------------------^^^^^^   doesn't exists, but tool/PTOptimizer 
> exists

See above. Not sure how the wrapper script could be created without the
executable.

> Also I have to remove all stuff I created for hugin and the panotools, 
> and compile hugin again because hugin is linked 
> against /usr/lib/libpano.so.0
> libpano.so.0 => /usr/lib/libpano.so.0 (0x40885000)
> for now I made the 'fitting' links manually. This is due to the default 
> prefix /usr/local and the new naming libpano12.so*.

hmmm. Personally I would like to keep the naming consistent on all
platforms (ie pano12) , but I can see where this could lead to problems.
Any ideas from anyone??

> What's about gimp-plugin?

Good point. I don't use it much myself, but a build system shouldn't be
too difficult. I will look at it later. (I have some hugin stuff to do
first :-) )

regards,
Doug



More information about the ptX mailing list