From: James M. D. <mdu...@ya...> - 2003-01-13 08:12:42
|
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 this is when the autotools generate the wrong SED commands. I am using : automake --version automake (GNU automake) 1.5 autoconf --version Autoconf version 2.13 libtoolize --version libtoolize (GNU libtool) 1.4.3 --- Grzegorz Jakacki <ja...@he...> wrote: > 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' ? i mean http://opencxx.sourceforge.net/debian/opencxx_2.6.0-1.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'? just to see if all is there. > 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? yes > > > 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? becuase you said that the make dist was not working with libgc? > > > 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? this is created by make dist > > > I have not heard from any of you yet. > > can you build from cvs? > > Have you comitted anything into CVS? If so, what? I have not committed, i sent you my patch against the cvs head http://opencxx.sourceforge.net/release/cvs_diff-u.patch > > If not, then sure we can build. I could build from CVS on Sun and > Linux. I have not committed anything, becuase I dont know if i broke anything > > > 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 that is it. I am upgrading now. > 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). I have fixed the files, the problem was in the aclocal macro. please try and run ./configure without bootstrapping > > > *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? ltconfig.in is used to create the ltconfig for libtool > > libtoolize --automake -c --debug -f --ltdl > libtool.log 2>&1 > > > I have taken that from gcc this time. > > Did you copied any other files from gcc? no only those > > > 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 > > It looks like something around libtool is broken. Can you make sure > that > you are bootstrapping with correct Autotools? i gave you the version number above > > There is a script ./bootstrap in main dir, it calls Autotools > components in > correct order. It should give diagnostics if anything goes wrong. You need to also re-do the autotools in the liblt version ===== James Michael DuPont http://introspector.sourceforge.net/ __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com |