[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:41:54 GMT 2004
Am Samstag 06 November 2004 14:53 schrieb Douglas Wilkins:
> On Sat, 2004-11-06 at 14:28 +0200, Douglas Wilkins wrote:
> [snip]
>
> > I'll try to fix this.
>
> Change committed to CVS. patch attached to this mail
>
> regards,
> Doug
Thank you Doug,
I compared the output of dbootstrap made a) with my patch (see other
posting) and b) your patch (applied with patch -p1):
$ diff ../bootstrap.gerhard ../bootstrap.doug
7d6
< Creating po/ subdirectory
50,52d48
< Updating EXTRA_DIST in m4/Makefile.am (backup is in m4/Makefile.am~)
< Creating m4/ChangeLog
< Updating Makefile.am (backup is in Makefile.am~)
59,61d54
< Please create po/Makevars from the template in po/Makevars.template.
< You can then remove po/Makevars.template.
<
66,68d58
< You will also need config.guess and config.sub, which you can get from
< ftp://ftp.gnu.org/pub/gnu/config/.
<
74c64
< Press Return to acknowledge the previous five paragraphs.
---
> Press Return to acknowledge the previous three paragraphs.
86,89d75
< configure.ac: installing `config/install-sh'
< configure.ac: installing `config/missing'
< Makefile.am:1: AM_GNU_GETTEXT used but `po' not in SUBDIRS
< src/Panorama/Makefile.am: installing `config/depcomp'
There is no file in the po directory:
$ ls po
$ pwd
/var/backups/download/graphics/panotools/hugin
With your bootstrap.diff I get also the same output and errors like with
my "patch ;-) ":
Copying file config/mkinstalldirs
Not copying intl/ directory.
Copying file po/Makefile.in.in
Copying file po/boldquot.sed
Copying file po/en at boldquot.header
Copying file po/en at quot.header
Copying file po/insert-header.sin
Copying file po/Makevars.template
Copying file po/quot.sed
Copying file po/remove-potcdate.sin
Copying file po/Rules-quot
Creating po/ChangeLog
Copying file m4/codeset.m4
[...]
Copying file m4/xsize.m4
Updating configure.ac (backup is in configure.ac~)
Adding an entry to ChangeLog (backup is in ChangeLog~)
Please use AM_GNU_GETTEXT([external]) in order to cause
autoconfiguration
to look for an external libintl.
Please run 'aclocal -I m4' to regenerate the aclocal.m4 file.
You need aclocal from GNU automake 1.5 (or newer) to do this.
Then run 'autoconf' to regenerate the configure file.
You might also want to copy the convenience header file gettext.h
from the /usr/share/gettext directory into your package.
It is a wrapper around <libintl.h> that implements the configure
--disable-nls
option.
Press Return to acknowledge the previous three paragraphs.
libtoolize: putting files in AC_CONFIG_AUX_DIR, `config'.
[...]
configure.ac:8: `automake requires `AM_CONFIG_HEADER', not
`AC_CONFIG_HEADER'
Makefile.am:1: AM_GNU_GETTEXT used but `po' not in SUBDIRS
~$
I think it will result in the same make errors like my patch? Ok, Let's
try it:
$ sudo autoconf
configure.ac:12: error: possibly undefined macro: AC_DISABLE_SHARED
If this token and others are legitimate, please use
m4_pattern_allow.
See the Autoconf documentation.
configure.ac:66: error: possibly undefined macro: AC_PROG_LIBTOOL
~$ ./configure--with-GNU-ld --enable-debug --with-pano=/usr/local/
[...]
config.status: executing depfiles commands
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
~$ make
cd . && \
/bin/sh /var/backups/download/graphics/panotools/hugin/config/missing
--run automake-1.6 --gnu Makefile
configure.ac:8: `automake requires `AM_CONFIG_HEADER', not
`AC_CONFIG_HEADER'
Makefile.am:1: AM_GNU_GETTEXT used but `po' not in SUBDIRS
make: *** [Makefile.in] Error 1
I hope these outputs will help you to point me to the right way to
compile hugin on my box.
Thank you in advance
Gerhard
More information about the ptX
mailing list