From: Grzegorz J. <ja...@he...> - 2003-01-13 02:09:39
|
Hi Michael, I am sorry, I did not have time to get down to it earlier. First, thanks for you contribution. Second, see below for questions/issues. On Sun, 5 Jan 2003, James Michael DuPont wrote: > Here is my patch for fixing the libtool and adding debian > please apply and test: What is the purpose of the patch and what version should it be applied to? > https://sourceforge.net/tracker/index.php?func=detail&aid=662542&group_id=40789&atid=428923 > http://opencxx.sourceforge.net/release/cvs_diff-u.patch Names like 'release' or 'cvs_diff' are a little bit unclear. Possibly longer and more descriptive names would help. > you can find the following files : > the full source of the package, you can build from this (even if you > dont have debian) > http://opencxx.sourceforge.net/debian/opencxx_2.6.0-1.tar.gz Do you mean 'opencxx-2.6.0.tar.gz' ? > The debian package, the deb > http://opencxx.sourceforge.net/debian/opencxx_2.6.0-1_i386.deb > > The DSC file for building and installing the deb: > http://opencxx.sourceforge.net/debian/opencxx_2.6.0-1.dsc > > Here you will find the following files : > http://opencxx.sourceforge.net/release/ > cvs_diff-u.patch -- the patch > opencxx-2.6-install.tar.gz -- the results of make install to a > temp directory and the gz : > > make install prefix=~/development/opencxx/opencxx-2.6.0-install > cd ~/development/opencxx/ > tar -czf ../opencxx-2.6-install.tar.gz opencxx-2.6.0-install What is the purpose of uploading 'opencxx-2.6-install.tar.gz'? People should be installing from 'opencxx-2.6.0.tar.gz', 'opencxx_2.6.0-1_i386.deb' or 'opencxx-2.6.0-2-alien.i386.rpm' anyway, am I right? > opencxx-2.6.0-2-alien.i386.rpm -- the rpm created from the deb via > alien Ok. > opencxx-2.6.0-alien.tar.gz -- the tgz created from the deb via > alien Again: why do we need this archive? > opencxx-2.6.0-dist.tar.gz -- the tgz created from make dist Is this one different from 'opencxx-2.6.0.tar.gz' ? Why? > I have not heard from any of you yet. > can you build from cvs? Have you comitted anything into CVS? If so, what? If not, then sure we can build. I could build from CVS on Sun and Linux. > I have deleted all and trying to rebuild from scratch. > here are my errors > > here is my first problem : > ------------------------------------------ > updating cache ./config.cache > ./ltconfig: ./ltconfig: No such file or directory > configure: error: libtool configure failed > > .......................................... > ok, so it needs a ltconfig? and ltcf-c.sh > What versions of Autotools are you using? I could bootstrap and configure on Sun and Linux with autoconf (GNU Autoconf) 2.53 automake (GNU automake) 1.6.2 ltmain.sh (GNU libtool) 1.4.2 (1.922.2.53 2001/09/11 03:18:52) Possibly there was one problem with '])# AC_LTDL_ENABLE_INSTALL' (the one you mention below), if it was, I fixed it by hand (It seems to me that I reported it to maintainers some half a year ago, it should be fixed if they have made release since then). > *But you should provide an ltconfig.in!* Correct me if I am wrong, but AFAIK 'ltconfig.in' is just a part of gcc building mechanism. Existence of this file is *not* a precondition to use libtool. Autotools docs never mention it (at least the versions that I have). Thus I think we do not need ltconfig.in . Anyways, what is the purpose of this file? > I have taken that from gcc this time. Did you copied any other files from gcc? > libtoolize --automake -c --debug -f --ltdl > libtool.log 2>&1 > and > ./configure. > > ooops, the aclocal is messed up > > # AC_LTDL_ENABLE_INSTALL > # ---------------------- > AC_DEFUN([AC_LTDL_ENABLE_INSTALL], > [AC_ARG_ENABLE(ltdl-install, > [ --enable-ltdl-install install libltdl]) > > AM_CONDITIONAL(INSTALL_LTDL, test x"${enable_ltdl_install-no}" != xno) > AM_CONDITIONAL(CONVENIENCE_LTDL, test x"${enable_ltdl_convenience-no}" > != xno) > ]) Yes, this is the only problem I had with Autotools. I just fixed each by hand, each time after running ./bootstrap. > ----------- > now to get this running i had to comment out this last line in my > aclocal > ])# AC_LTDL_ENABLE_INSTALL > to : > #])# AC_LTDL_ENABLE_INSTALL Precisely. Now my experiences: I downloaded 'opencxx-2.6.0.tar.gz' and tried to build, but I failed: [duch opencxx-2.6.0]$ ./configure creating cache ./config.cache checking for a BSD compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for mawk... mawk checking whether make sets ${MAKE}... yes checking for gcc... gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for style of include used by make... GNU checking dependency style of gcc... gcc checking how to run the C preprocessor... gcc -E checking for c++... c++ checking whether the C++ compiler (c++ ) works... yes checking whether the C++ compiler (c++ ) is a cross-compiler... no checking whether we are using GNU C++... yes checking whether c++ accepts -g... yes checking dependency style of c++... gcc checking for Cygwin environment... no checking for mingw32 environment... no checking host system type... i686-pc-linux-gnu checking build system type... i686-pc-linux-gnu checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking for a sed that does not truncate output... /bin/sed checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking for object suffix... o checking for executable suffix... no checking command to parse /usr/bin/nm -B output... ok checking for dlfcn.h... yes checking for ranlib... ranlib checking for strip... strip checking for objdir... .libs checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.lo... yes checking if gcc supports -fno-rtti -fno-exceptions... yes checking whether the linker (/usr/bin/ld) supports shared libraries... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... GNU/Linux ld.so checking if libtool supports shared libraries... yes checking whether to build shared libraries... no checking whether to build static libraries... yes checking for shl_load... no checking for shl_load in -ldld... no checking for dlopen... no checking for dlopen in -ldl... yes checking whether a program can dlopen itself... yes checking whether a statically linked program can dlopen itself... no creating libtool checking for working const... yes checking for ANSI C header files... yes checking for dirent.h that defines DIR... yes checking for opendir in -ldir... no checking whether gcc supports assert without backlinking... checking which extension is used for shared libraries... .so checking which variable specifies run-time library path... LD_LIBRARY_PATH checking for the default library search path... /lib /usr/lib checking for objdir... .libs checking whether libtool supports -dlopen/-dlpreopen... yes checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen in -ldl... (cached) yes checking for dlerror... yes checking for _ prefix in compiled symbols... no checking whether deplibs are loaded by dlopen... yes checking for argz.h... yes checking for error_t... yes checking for argz_append... yes checking for argz_create_sep... yes checking for argz_insert... yes checking for argz_next... yes checking for argz_stringify... yes checking for errno.h... yes checking for malloc.h... yes checking for memory.h... yes checking for stdlib.h... yes checking for stdio.h... yes checking for ctype.h... yes checking for unistd.h... yes checking for dl.h... no checking for sys/dl.h... no checking for dld.h... no checking for string.h... yes checking for strchr... yes checking for strrchr... yes checking for memcpy... yes checking for memmove... yes checking for strcmp... yes checking for ANSI C header files... (cached) yes checking for fcntl.h... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking for working const... (cached) yes checking for inline... inline checking for size_t... yes checking whether time.h and sys/time.h may both be included... yes checking for 8-bit clean memcmp... yes checking for gettimeofday... yes checking for auxiliary packages to be built... gc checking for bash... /bin/bash updating cache ./config.cache creating ./config.status creating Makefile creating src/Makefile creating gc/Makefile creating gc/Makefile.gc creating gc/Makefile.options creating scripts/Makefile creating scripts/libocc-config creating html/Makefile creating tmplib/Makefile creating testsuite/Makefile creating testsuite/tester.def creating testsuite/tester creating testsuite/comp/Makefile creating testsuite/comp/tester creating testsuite/exec/Makefile creating testsuite/exec/tester creating config.h configuring in libltdl running /bin/sh ./configure --enable-ltdl-convenience --cache-file=.././config.cache --srcdir=. loading cache .././config.cache checking for a BSD compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for mawk... (cached) mawk checking whether make sets ${MAKE}... (cached) yes checking whether to enable maintainer-specific portions of Makefiles... no checking for gcc... (cached) gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for style of include used by make... GNU checking dependency style of gcc... (cached) gcc checking for working const... (cached) yes checking for inline... (cached) inline checking for Cygwin environment... (cached) no checking for mingw32 environment... (cached) no checking how to run the C preprocessor... (cached) gcc -E checking host system type... i686-pc-linux-gnu checking build system type... i686-pc-linux-gnu checking for ld used by GCC... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for BSD-compatible nm... (cached) /usr/bin/nm -B checking whether ln -s works... (cached) yes checking how to recognise dependant libraries... (cached) pass_all checking for object suffix... (cached) o checking for executable suffix... (cached) no checking command to parse /usr/bin/nm -B output... (cached) ok checking for dlfcn.h... (cached) yes checking for ranlib... (cached) ranlib checking for strip... (cached) strip checking for objdir... .libs checking for gcc option to produce PIC... (cached) -fPIC checking if gcc PIC flag -fPIC works... (cached) yes checking if gcc static flag -static works... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.lo... (cached) yes checking if gcc supports -fno-rtti -fno-exceptions... yes checking whether the linker (/usr/bin/ld) supports shared libraries... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... GNU/Linux ld.so checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking whether -lc should be explicitly linked in... no creating libtool checking for ANSI C header files... (cached) yes checking for dirent.h that defines DIR... (cached) yes checking for opendir in -ldir... (cached) no checking whether gcc supports assert without backlinking... checking which extension is used for shared libraries... (cached) .so checking which variable specifies run-time library path... (cached) LD_LIBRARY_PATH checking for the default library search path... (cached) /lib /usr/lib checking for objdir... (cached) .libs checking whether libtool supports -dlopen/-dlpreopen... (cached) yes checking for dlopen in -ldl... (cached) yes checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dld_link in -ldld... no checking for dlerror... (cached) yes checking for _ prefix in compiled symbols... (cached) no checking whether deplibs are loaded by dlopen... (cached) yes checking for argz.h... (cached) yes checking for error_t... yes checking for argz_append... (cached) yes checking for argz_create_sep... (cached) yes checking for argz_insert... (cached) yes checking for argz_next... (cached) yes checking for argz_stringify... (cached) yes checking for errno.h... (cached) yes checking for malloc.h... (cached) yes checking for memory.h... (cached) yes checking for stdlib.h... (cached) yes checking for stdio.h... (cached) yes checking for ctype.h... (cached) yes checking for unistd.h... (cached) yes checking for dl.h... (cached) no checking for sys/dl.h... (cached) no checking for dld.h... (cached) no checking for string.h... (cached) yes checking for strchr... (cached) yes checking for strrchr... (cached) yes checking for memcpy... (cached) yes checking for memmove... (cached) yes checking for strcmp... (cached) yes updating cache .././config.cache creating ./config.status creating Makefile creating config.h [duch opencxx-2.6.0]$ make make all-recursive make[1]: Entering directory `/home/staff/iinf/jakacki/tmp/opencxx-2.6.0' Making all in gc make[2]: Entering directory `/home/staff/iinf/jakacki/tmp/opencxx-2.6.0/gc' cd ../libltdl; make all make[3]: Entering directory `/home/staff/iinf/jakacki/tmp/opencxx-2.6.0/libltdl' /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c ltdl.c ./libtool[338]: s%^.*/%%: not found ./libtool[497]: -e: not found ./libtool[5192]: -e: not found ./libtool[5192]: -e: not found ./libtool[5192]: -e: not found ./libtool[5192]: -e: not found ./libtool[5192]: -e: not found ./libtool[5192]: -e: not found ./libtool[5192]: -e: not found ./libtool[5192]: -e: not found ./libtool[5192]: -e: not found ./libtool[5192]: -e: not found : compile: cannot determine name of library object from `' make[3]: *** [ltdl.lo] Error 1 make[3]: Leaving directory `/home/staff/iinf/jakacki/tmp/opencxx-2.6.0/libltdl' make[2]: *** [ltdl-make] Error 2 make[2]: Leaving directory `/home/staff/iinf/jakacki/tmp/opencxx-2.6.0/gc' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/staff/iinf/jakacki/tmp/opencxx-2.6.0' make: *** [all] Error 2 [duch opencxx-2.6.0]$ ./config.guess i686-pc-linux-gnu [duch opencxx-2.6.0]$ It looks like something around libtool is broken. Can you make sure that you are bootstrapping with correct Autotools? There is a script ./bootstrap in main dir, it calls Autotools components in correct order. It should give diagnostics if anything goes wrong. Best regards Grzegorz ################################################################## # Grzegorz Jakacki Huada Electronic Design # # Senior Engineer, CAD Dept. 1 Gaojiayuan, Chaoyang # # tel. +86-10-64365577 x2074 Beijing 100015, China # # Copyright (C) 2002 Grzegorz Jakacki, HED. All Rights Reserved. # ################################################################## |