Re: [Sqlrelay-discussion] build problems on Solaris 2.8
Brought to you by:
mused
|
From: John K. <kl...@gm...> - 2008-01-30 21:30:07
|
Hi Dave, I'm building on Solaris: % uname -a SunOS mavis 5.8 Generic_117350-34 sun4u sparc SUNW,Ultra-80 using gcc 2.95.3-p11. I appear to have access to autoconf 2.59 and libtool 1.5.20. Here's what's in the directory you asked about: % ls -al /auto/tte/its/SQLRELAY/lib total 964 drwxrwxr-x 3 klassa eng 4096 Jan 30 15:45 ./ drwxrwxr-x 6 klassa eng 4096 Jan 30 11:41 ../ -rw-r--r-- 1 klassa eng 963264 Jan 30 15:45 librudiments.a -rwxr-xr-x 1 klassa eng 857 Jan 30 15:45 librudiments.la* drwxrwxr-x 2 klassa eng 4096 Jan 30 15:49 pkgconfig/ My plan was to set "prefix" to /auto/tte/its/SQLRELAY for both rudiments and SQL Relay, so that it's all just "in there". Walking me through re-libtool'ing and re-autoconf'ing would be great. :-) Thanks! JK On Jan 30, 2008 4:15 PM, David Muse <dav...@fi...> wrote: > Those are some strange errors like I've never seen before :) It looks > like libtool is having trouble figuring out the rules for your system > and adding .libs before the library when it shouldn't. What platform > are you building on? > > Also, look in /auto/tte/its/SQLRELAY/lib, are there any librudiments > files installed there? > > You might need to re-libtoolize for your system. Do you have the > libtool and autoconf packages installed? If so, let me know and I'll > walk you through it. > > Dave > dav...@fi... > > > > On Wed, 2008-01-30 at 16:07 -0500, John Klassa wrote: > > I finally got rudiments to build, but to do so, I had to get rid of > > the "-rpath $(libdir)" from the Makefile, and then also had to remove > > a bogus, trailing "i" from the value of "instname" (in libtool). > > > > When I try to build SQL Relay proper, though, I get this far: > > > > % make > > make -C src all > > make[1]: Entering directory `/tmp/sqlrelay-0.39.4/src' > > make -C util all > > make[2]: Entering directory `/tmp/sqlrelay-0.39.4/src/util' > > /bin/sh ../../libtool --mode=link g++ -o libsqlrutil.la cmdline.lo > > debugfile.lo tempdir.lo sqlrconfigfile.lo authenticator.lo > > -L/auto/tte/its/SQLRELAY/lib -lrudiments -lsocket -lrt -lresolv > > -rpath /auto/tte/its/SQLRELAY/lib -release 0.39.4 -version-info 1:0:0 > > -no-undefined > > rm -fr .libs/libsqlrutil.lax > > rm -fr .libs/libsqlrutil.lax > > mkdir .libs/libsqlrutil.lax > > rm -fr .libs/libsqlrutil.lax/librudiments.a > > mkdir .libs/libsqlrutil.lax/librudiments.a > > (cd .libs/libsqlrutil.lax/librudiments.a && ar x > > /auto/tte/its/SQLRELAY/lib/.libs/librudiments.a) > > ar: /auto/tte/its/SQLRELAY/lib/.libs/librudiments.a: No such file or directory > > make[2]: *** [libsqlrutil.la] Error 9 > > make[2]: Leaving directory `/tmp/sqlrelay-0.39.4/src/util' > > make[1]: *** [all] Error 2 > > make[1]: Leaving directory `/tmp/sqlrelay-0.39.4/src' > > make: *** [all] Error 2 > > Exit 2 > > > > Note that /auto/tte/its/SQLRELAY is what I passed in via > > --with-rudiments-prefix. Why is it looking in > > /auto/tte/its/SQLRELAY/lib/.libs rather than just > > /auto/tte/its/SQLRELAY/lib, though (i.e. why the extra ".libs")? > > > > Confused, > > JK > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Microsoft > > Defy all challenges. Microsoft(R) Visual Studio 2008. > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > _______________________________________________ > > Sqlrelay-discussion mailing list > > Sql...@li... > > https://lists.sourceforge.net/lists/listinfo/sqlrelay-discussion > > > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Sqlrelay-discussion mailing list > Sql...@li... > https://lists.sourceforge.net/lists/listinfo/sqlrelay-discussion > |