Issue Details (XML | Word | Printable)

Key: LOGCXX-280
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Curt Arnold
Reporter: Curt Arnold
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Log4cxx

tests and sample code unnecessarily compiled during default make target

Created: 07/May/08 05:02 AM   Updated: 07/May/08 05:15 AM
Return to search
Component/s: Build
Affects Version/s: 0.10.0
Fix Version/s: 0.10.1

Time Tracking:
Not Specified

Resolution Date: 07/May/08 05:15 AM


 Description  « Hide
The autotools build would build the unit test and sample program executables during the default build process which appears to be responsible for that failing on HP-UX (or at least some version) since libtool complains that the platform does not like uninstalled shared images. The fix delays the building of the unit tests and samples until make check is run. On HP-UX, make check should only be run after a make install.


On May 3, 2008, at 6:04 AM, Chakravarthula, Krishnamurthy wrote:

Hi Arnold,

I am getting following error when I do make of log4cxx. The earlier
problems got resolved. They were because of my library path settings.
Please advice.

libtool: link: warning: this platform does not like uninstalled shared
libraries
libtool: link: `trivial' will be relinked during installation
g++ -g -O2 -o .libs/trivial trivial.o -L/u/chakrava/apr
-L/u/chakrava/apr-util
-lm ../../../src/main/cpp/.libs/liblog4cxx.sl
/u/chakrava/apr-util/.libs/libapru
til-1.sl /u/chakrava/apr-util/xml/expat/lib/.libs/libexpat.sl
/u/chakrava/apr/.l
ibs/libapr-1.sl -lrt -lpthread /opt/hp-gcc64-4.2.1/lib/libstdc++.sl
-L/tmp/gcc-4
.2.1.tar.gz/obj/hppa64-hp-hpux11.11/libstdc++-v3/src
-L/tmp/gcc-4.2.1.tar.gz/obj
/hppa64-hp-hpux11.11/libstdc++-v3/src/.libs
-L/tmp/gcc-4.2.1.tar.gz/obj/./gcc -L
/opt/hp-gcc64-4.2.1/hppa64-hp-hpux11.11/bin -L/opt/hp-gcc64-4.2.1/lib
-Wl,+b -Wl
,/u/chakrava/log4cxx/src/main/cpp/.libs:/u/chakrava/apr-util/.libs:/u/ch
akrava/a
pr-util/xml/expat/lib/.libs:/u/chakrava/apr/.libs:/opt/hp-gcc64-4.2.1/li
b:/usr/l
ocal/lib:/usr/local/apr/lib
ld: Can't find dependent library "libaprutil-1.sl.2"
Fatal error.
collect2: ld returned 1 exit status
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.

Regards,
Krishna



 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Curt Arnold made changes - 07/May/08 05:15 AM
Field Original Value New Value
Fix Version/s 0.10.1 [ 12313090 ]
Resolution Fixed [ 1 ]
Status Open [ 1 ] Resolved [ 5 ]