[ptx] How to compile hugin cvs with libtool 1.5a instead of version 1.4?

Gerhard Gaussling ggrubbish at web.de
Sat Nov 6 14:12:01 GMT 2004


Am Samstag 06 November 2004 13:28 schrieb Douglas Wilkins:

>
> [snip]
>
> > Should I edit the bootstrap script?
>
> [snip]
>
> where the version number is ahead of the internal version. On your
> machine the internal version comes first so it picks the version as
> 1.1 and fails. I'll try to fix this.
>
> regards,
> Doug

Hello Doug,

Thank you for your help.   I did a crude hack that probably only works 
on my installation, but I receive further errors. See the attached text 
file in gzip format.

My configuration is as follows:

hugin is configured as follows. Please verify that this configuration
matches your expectations.

Host system type : i686-pc-linux-gnu

                  Option                        Value
-------------------------------------------------------------------------
Shared libraries  --enable-shared=
Static libraries  --enable-static=
JPEG              --with-jpeg=          have_jpeg = yes
PNG               --with-png=           have_png  = yes
TIFF              --with-tiff=          have_tiff = yes
ZLIB              --with-zlib=          have_zlib = yes
PANO              --with-pano=/usr/local/               have_pano = yes

Options used to compile and link:
  PREFIX         = /usr/local
  VERSION        = 0.4
  CC             = gcc
  CFLAGS         = -g -DDEBUG
  CPPFLAGS       =
  DEFS           = -DHAVE_CONFIG_H
  LDFLAGS        =
  LIBS           =
  CXX            = g++
  CXXFLAGS       = -g -DDEBUG
  JPEG_FLAGS     = -I/usr/include -DHasJPEG
  LIB_JPEG       = -L/usr/lib -ljpeg
  PNG_FLAGS      = -I/usr/include -DHasPNG
  LIB_PNG        = -L/usr/lib -lpng
  TIFF_FLAGS     = -I/usr/include -DHasTIFF
  LIB_TIFF       = -L/usr/lib -ltiff
  ZLIB_FLAGS     = -I/usr/include -DHasZLIB
  LIB_ZLIB       = -L/usr/lib -lz
  PANO_FLAGS     = -I/usr/local//include -DHasPANO
  LIB_PANO       = -L/usr/local//lib -lpano12
  WX_CXXFLAGS    = -I/usr/lib/wx/include/gtk-2.4 -DGTK_NO_CHECK_CASTS 
-D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
  WX_LIBS        = -pthread -lwx_gtk-2.4 -lwx_gtk_xrc-2.4
  GTK_CFLAGS     = -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 
-I/usr/lib/glib/include -D_REENTRANT
  GTK_LIBS       = -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic 
-lgmodule -lgthread -lglib -lpthread -ldl -lXi -lXext -lX11 -lm
  FFTW_INCLUDES  =
  FFTW_LDFLAGS   = -L/usr/lib
  BOOST_CPPFLAGS = -I/usr/include/boost-1_30
  BOOST_LIBS     = -lboost_unit_test_framework-gcc-d-1_30
  BUILD          = linux


The last error I received is 

~$ make
cd . && /bin/sh ./config.status Makefile
config.status: creating Makefile
Making all in src
make[1]: Entering directory 
`/var/backups/download/graphics/panotools/hugin/src'
Making all in jhead
make[2]: Entering directory 
`/var/backups/download/graphics/panotools/hugin/src/jhead'
source='exif.cpp' object='exif.lo' libtool=yes \
depfile='.deps/exif.Plo' tmpdepfile='.deps/exif.TPlo' \
depmode=gcc3 /bin/sh ../../config/depcomp \
@LIBTOOL@ --mode=compile g++ -DHAVE_CONFIG_H "-I." -I../../src/include 
-I../../src/include    -g -DDEBUG -c -o exif.lo `test -f 'exif.cpp' || 
echo './'`exif.cpp
../../config/depcomp: line 69: @LIBTOOL@: command not found
make[2]: *** [exif.lo] Error 127
make[2]: Leaving directory 
`/var/backups/download/graphics/panotools/hugin/src/jhead'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory 
`/var/backups/download/graphics/panotools/hugin/src'
make: *** [all-recursive] Error 1

How to get /usr/bin/libtool instead of @LIBTOOL@ in config/depcomp ?


PS:
All hugin enblend pano12 autopano autopano-sift are the latest 
source-packages or cvs from yesterday!

My debian sarge/SID installation:

~$ which gettextize;which aclocal;which libtoolize;which automake;which 
autoheader;which autoconf
/usr/bin/gettextize
/usr/bin/aclocal
/usr/bin/libtoolize
/usr/bin/automake
/usr/bin/autoheader
/usr/bin/autoconf

~$ `which gettextize` --version|grep GNU;`which aclocal` --version|grep 
GNU;`which libtoolize` --version|grep GNU;`which automake` --version|
grep GNU;`which autoheader` --version|grep GNU;`which autoconf` 
--version|grep GNU
/usr/bin/gettextize (GNU gettext-tools) 0.14.1
aclocal (GNU automake) 1.6.3
libtoolize (GNU libtool 1.1467 2004/04/01 04:43:56) 1.5a
automake (GNU automake) 1.6.3
autoheader (GNU Autoconf) 2.59
autoconf (GNU Autoconf) 2.59

~$ dpkg -S  autoheader libtoolize aclocal gettextize |egrep 
"(/usr/bin/autoheader|/usr/bin/libtoolize|/usr/bin/aclocal|/usr/bin/gettextize)"
autoconf2.13, autoconf: /usr/bin/autoheader
libtool: /usr/bin/libtoolize
automake1.6: /usr/bin/aclocal-1.6
gettext: /usr/bin/gettextize

~$ dpkg -l :
ii  autoconf       2.59-8
ii  automake1.6    1.6.3-11
ii  libtool        1.6-0+1.5a-4
ii  gettext        0.14.1-6
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hugin-bootstrap.diff.gz
Type: application/x-gzip
Size: 3692 bytes
Desc: not available
Url : http://www.email-lists.org/pipermail/ptx/attachments/20041106/84ab7d77/hugin-bootstrap.diff.bin


More information about the ptX mailing list