Login | Register
My pages Projects Community openCollabNet

Discussions > dev > Re: FTBFS 1.2.0 on Solaris 10

fsvs
Discussion topic

Hide all messages in topic

All messages in topic

RE: FTBFS 1.2.0 on Solaris 10

Author pmarek
Full name P.Marek
Date 2009-07-24 04:34:37 PDT
Message Hello Mark!

> I just realized the difference here... if I run configure as root I get
> the libgdbm error, if I run it as myself I get the libapr-util-1 error.
> This is repeatable, but doesn't make much sense to me...
Could you compare your environments for root and user? Maybe you've got different
CFLAGS/LDFLAGS or whatever; maybe some directory is unreadable for the user?

Could you try tracing the configure call with strace (my default options are "-f -tt -o
/tmp/some-filename"), and look where they differ?
Perhaps for the first run it would make sense to only list the open calls (with "-e
open"), too see what the compiler does differently.


Regards,

Phil

--
Versioning your /etc, /home or even your whole installation?
             Try fsvs (fsvs.tigris.org)!

RE: FTBFS 1.2.0 on Solaris 10

Author "Petersen, Mark" <MPetersen at gs1us dot org>
Full name "Petersen, Mark" <MPetersen at gs1us dot org>
Date 2009-07-23 08:27:22 PDT
Message I just realized the difference here... if I run configure as root I get
the libgdbm error, if I run it as myself I get the libapr-util-1 error.
This is repeatable, but doesn't make much sense to me...


mark

-----Original Message-----
From: Petersen, Mark [mailto:MPetersen at gs1us dot org]
Sent: Thursday, July 23, 2009 10:18 AM
To: dev at fsvs dot tigris dot org; Ph. Marek
Subject: RE: FTBFS 1.2.0 on Solaris 10

I noticed this, not sure if this happened in the original config.log or
not...

gcc -o conftest -g -O2 -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64 -idirafter
/usr/local/include -idirafter /usr/include -idiraf
ter /openpkg/include -idirafter /usr/local/apache2/include -idirafter
/usr/local/include -idirafter /usr/local/include -L/usr/local/lib -
L/openpkg/lib -L/usr/local/apache2/lib -L/usr/local/lib conftest.c
-lgdbm -lsvn_ra-1 -lsvn_delta-1 -laprutil-1 -lpcre >&5
configure:5902: $? = 0
configure:5908: ./conftest
ld.so.1: conftest: fatal: libgdbm.so.3: open failed: No such file or
directory
./configure: line 5910: 6781 Killed
./conftest$ac_exeext

which exists in /usr/local/lib

ls -l /usr/local/lib/libgdbm.so.3*
lrwxrwxrwx 1 root root 16 Jul 21 14:10 /usr/local/lib/libgdbm.so.3
-> libgdbm.so.3.0.0
-rwxr-xr-x 1 bin bin 332112 May 4 2003
/usr/local/lib/libgdbm.so.3.0.0


-----Original Message-----
From: Petersen, Mark [mailto:MPetersen at gs1us dot org]
Sent: Thursday, July 23, 2009 10:00 AM
To: Ph. Marek
Cc: dev at fsvs dot tigris dot org
Subject: RE: FTBFS 1.2.0 on Solaris 10

I was able to run this command and got a test-ifmt.c file. Not sure
what to do with it though.

Mark

-----Original Message-----
From: Ph. Marek [mailto:philipp at marek dot priv dot at]
Sent: Thursday, July 23, 2009 8:51 AM
To: Petersen, Mark
Cc: dev at fsvs dot tigris dot org
Subject: Re: FTBFS 1.2.0 on Solaris 10

On Thursday 23 July 2009 Petersen, Mark wrote:
> Hmm.. I have libarputil... is it not using the aprlib path?
It should ...

    configure:4775: checking for apr_md5_init in -laprutil-1
    configure:4810: gcc -o conftest -g -O2 -D_GNU_SOURCE=1 ...
    configure:4817: $? = 0
    configure:4838: result: yes


> -bash-3.00$ ./configure --with-aprinc=/usr/l​ocal/apache2/include​
> --with-aprlib=/usr/l​ocal/apache2/lib --with-svnlib=/usr/local/lib
> --with-svninc=/usr/l​ocal/include
The compile commands seem to use this path.


Please take my short test program of the last mail, and try to compile
with
this line:

    gcc -o test-ifmt.c -g -O2 -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64
-idirafter
/usr/local/include -idirafter /usr/include -idirafter /openpkg/include -
idirafter /usr/local/apache2/include -idirafter /usr/local/include
-idirafter
/usr/local/include -L/usr/local/lib -L/openpkg/lib
-L/usr/local/apache2/lib
-L/usr/local/lib test-IFMT.c -lgdbm -lsvn_ra-1 -lsvn_delta-1 -laprutil-1
-
lpcre

That's the failing line from the logfile, with the names substituted.
The "-L/usr/local/apache2/lib is given" ...


Regards,

Phil


--
Versioning your /etc, /home or even your whole installation?
             Try fsvs (fsvs.tigris.org)!

--------------------​--------------------​--------------
http://fsvs.tigris.o​rg/ds/viewMessage.do​?dsForumId=3923&​dsMessageId=2374
845

To unsubscribe from this discussion, e-mail:
[dev-unsubscribe@fsv​s.tigris.org].

--------------------​--------------------​--------------
http://fsvs.tigris.o​rg/ds/viewMessage.do​?dsForumId=3923&​dsMessageId=2374
855

To unsubscribe from this discussion, e-mail:
[dev-unsubscribe@fsv​s.tigris.org].

RE: FTBFS 1.2.0 on Solaris 10

Author "Petersen, Mark" <MPetersen at gs1us dot org>
Full name "Petersen, Mark" <MPetersen at gs1us dot org>
Date 2009-07-23 08:18:19 PDT
Message I noticed this, not sure if this happened in the original config.log or
not...

gcc -o conftest -g -O2 -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64 -idirafter
/usr/local/include -idirafter /usr/include -idiraf
ter /openpkg/include -idirafter /usr/local/apache2/include -idirafter
/usr/local/include -idirafter /usr/local/include -L/usr/local/lib -
L/openpkg/lib -L/usr/local/apache2/lib -L/usr/local/lib conftest.c
-lgdbm -lsvn_ra-1 -lsvn_delta-1 -laprutil-1 -lpcre >&5
configure:5902: $? = 0
configure:5908: ./conftest
ld.so.1: conftest: fatal: libgdbm.so.3: open failed: No such file or
directory
./configure: line 5910: 6781 Killed
./conftest$ac_exeext

which exists in /usr/local/lib

ls -l /usr/local/lib/libgdbm.so.3*
lrwxrwxrwx 1 root root 16 Jul 21 14:10 /usr/local/lib/libgdbm.so.3
-> libgdbm.so.3.0.0
-rwxr-xr-x 1 bin bin 332112 May 4 2003
/usr/local/lib/libgdbm.so.3.0.0


-----Original Message-----
From: Petersen, Mark [mailto:MPetersen at gs1us dot org]
Sent: Thursday, July 23, 2009 10:00 AM
To: Ph. Marek
Cc: dev at fsvs dot tigris dot org
Subject: RE: FTBFS 1.2.0 on Solaris 10

I was able to run this command and got a test-ifmt.c file. Not sure
what to do with it though.

Mark

-----Original Message-----
From: Ph. Marek [mailto:philipp at marek dot priv dot at]
Sent: Thursday, July 23, 2009 8:51 AM
To: Petersen, Mark
Cc: dev at fsvs dot tigris dot org
Subject: Re: FTBFS 1.2.0 on Solaris 10

On Thursday 23 July 2009 Petersen, Mark wrote:
> Hmm.. I have libarputil... is it not using the aprlib path?
It should ...

    configure:4775: checking for apr_md5_init in -laprutil-1
    configure:4810: gcc -o conftest -g -O2 -D_GNU_SOURCE=1 ...
    configure:4817: $? = 0
    configure:4838: result: yes


> -bash-3.00$ ./configure --with-aprinc=/usr/l​ocal/apache2/include​
> --with-aprlib=/usr/l​ocal/apache2/lib --with-svnlib=/usr/local/lib
> --with-svninc=/usr/l​ocal/include
The compile commands seem to use this path.


Please take my short test program of the last mail, and try to compile
with
this line:

    gcc -o test-ifmt.c -g -O2 -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64
-idirafter
/usr/local/include -idirafter /usr/include -idirafter /openpkg/include -
idirafter /usr/local/apache2/include -idirafter /usr/local/include
-idirafter
/usr/local/include -L/usr/local/lib -L/openpkg/lib
-L/usr/local/apache2/lib
-L/usr/local/lib test-IFMT.c -lgdbm -lsvn_ra-1 -lsvn_delta-1 -laprutil-1
-
lpcre

That's the failing line from the logfile, with the names substituted.
The "-L/usr/local/apache2/lib is given" ...


Regards,

Phil


--
Versioning your /etc, /home or even your whole installation?
             Try fsvs (fsvs.tigris.org)!

--------------------​--------------------​--------------
http://fsvs.tigris.o​rg/ds/viewMessage.do​?dsForumId=3923&​dsMessageId=2374
845

To unsubscribe from this discussion, e-mail:
[dev-unsubscribe@fsv​s.tigris.org].

RE: FTBFS 1.2.0 on Solaris 10

Author "Petersen, Mark" <MPetersen at gs1us dot org>
Full name "Petersen, Mark" <MPetersen at gs1us dot org>
Date 2009-07-23 07:59:50 PDT
Message I was able to run this command and got a test-ifmt.c file. Not sure what to do with it though.

Mark

-----Original Message-----
From: Ph. Marek [mailto:philipp at marek dot priv dot at]
Sent: Thursday, July 23, 2009 8:51 AM
To: Petersen, Mark
Cc: dev at fsvs dot tigris dot org
Subject: Re: FTBFS 1.2.0 on Solaris 10

On Thursday 23 July 2009 Petersen, Mark wrote:
> Hmm.. I have libarputil... is it not using the aprlib path?
It should ...

    configure:4775: checking for apr_md5_init in -laprutil-1
    configure:4810: gcc -o conftest -g -O2 -D_GNU_SOURCE=1 ...
    configure:4817: $? = 0
    configure:4838: result: yes


> -bash-3.00$ ./configure --with-aprinc=/usr/l​ocal/apache2/include​
> --with-aprlib=/usr/l​ocal/apache2/lib --with-svnlib=/usr/local/lib
> --with-svninc=/usr/l​ocal/include
The compile commands seem to use this path.


Please take my short test program of the last mail, and try to compile with
this line:

    gcc -o test-ifmt.c -g -O2 -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64 -idirafter
/usr/local/include -idirafter /usr/include -idirafter /openpkg/include -
idirafter /usr/local/apache2/include -idirafter /usr/local/include -idirafter
/usr/local/include -L/usr/local/lib -L/openpkg/lib -L/usr/local/apache2/lib
-L/usr/local/lib test-IFMT.c -lgdbm -lsvn_ra-1 -lsvn_delta-1 -laprutil-1 -
lpcre

That's the failing line from the logfile, with the names substituted.
The "-L/usr/local/apache2/lib is given" ...


Regards,

Phil


--
Versioning your /etc, /home or even your whole installation?
             Try fsvs (fsvs.tigris.org)!

Re: FTBFS 1.2.0 on Solaris 10

Author pmarek
Full name P.Marek
Date 2009-07-23 06:50:58 PDT
Message
Attachments

RE: FTBFS 1.2.0 on Solaris 10

Author "Petersen, Mark" <MPetersen at gs1us dot org>
Full name "Petersen, Mark" <MPetersen at gs1us dot org>
Date 2009-07-23 06:05:21 PDT
Message Hmm.. I have libarputil... is it not using the aprlib path?

-bash-3.00$ ./configure --with-aprinc=/usr/l​ocal/apache2/include​ --with-aprlib=/usr/l​ocal/apache2/lib --with-svnlib=/usr/local/lib --with-svninc=/usr/l​ocal/include

-bash-3.00$ ls /usr/local/apache2/lib|grep apr
apr-util-1
apr.exp
aprutil.exp
libapr-1.a
libapr-1.la
libapr-1.so
libapr-1.so.0
libapr-1.so.0.3.3
libaprutil-1.a
libaprutil-1.la
libaprutil-1.so
libaprutil-1.so.0
libaprutil-1.so.0.3.4

Mark

-----Original Message-----
From: Ph. Marek [mailto:philipp at marek dot priv dot at]
Sent: Thu 7/23/2009 6:34 AM
To: Petersen, Mark
Cc: dev at fsvs dot tigris dot org
Subject: Re: FTBFS 1.2.0 on Solaris 10
 
Hello Mark!

On Wednesday 22 July 2009 Petersen, Mark wrote:
> I can't seem to locate conftest.c or confdefs.h which seems odd, but I'm
> attaching the whole log...
That's fine, thank you.

And the problems seems to be that not all needed libraries are installed:

    configure:5908: ./conftest
    ld.so.1: conftest: fatal: libaprutil-1.so.0: open failed:
        No such file or directory
    ./configure: line 5910: 2244 Killed ./conftest$ac_exeext
    configure:5912: $? = 137
    configure: program exited with status 137

You need to install some package like libaprutil.


PS: I've subscribed you to dev@.


Regards,

Phil
Messages per page: