Hi Ariel,

My problem is the same like L'oiseau de mer.

The variable CPPUNIT_CFLAGS    is set to: -I/usr/local/include
The variable CPPUNIT_LIBS      is set to: -L/usr/local/lib -lcppunit

The full output of the command when building smoketestoo_native is:
lily@lily-desktop:~/ooo/main$ cd smoketestoo_native && build
build -- version: 275224


=============
Building module smoketestoo_native
=============

Entering /home/lily/ooo/main/smoketestoo_native

dmake: Executing shell macro: ls
$(installationtest_instset)/OOo_*_install-arc_$(defaultlangiso).tar.gz
Making:    libsmoketest.so
g++ -Wl,-z,combreloc -Wl,-z,defs -Wl,-Bsymbolic-functions
-Wl,--dynamic-list-cpp-new -Wl,--dynamic-list-cpp-typeinfo
-Wl,--hash-style=both -shared -Wl,-O1 -Wl,--version-script ./
unxlngi6.pro/misc/version_smoketest.map -L./unxlngi6.pro/lib -L../lib
-L/home/lily/ooo/main/solenv/unxlngi6/lib -L/home/lily/ooo/main/solver/340/
unxlngi6.pro/lib -L/home/lily/ooo/main/solenv/unxlngi6/lib
-L/usr/lib/jvm/java-6-sun/lib -L/usr/lib/jvm/java-6-sun/jre/lib/i386
-L/usr/lib/jvm/java-6-sun/jre/lib/i386/client
-L/usr/lib/jvm/java-6-sun/jre/lib/i386/native_threads -L/usr/lib ./
unxlngi6.pro/slo/smoketest.o ./unxlngi6.pro/slo/smoketest_version.o -o ./
unxlngi6.pro/lib/libsmoketest.so -luno_cppuhelpergcc3 -luno_cppu
-L/usr/local/lib -lcppunit -luno_sal -ltest -Wl,--as-needed -ldl -lpthread
-lm -Wl,--no-as-needed -Wl,-Bdynamic -lstlport_gcc
/usr/bin/ld: cannot find -ltest
collect2: ld returned 1 exit status
dmake:  Error code 1, while making './unxlngi6.pro/lib/libsmoketest.so'
ERROR: error 65280 occurred while making
/home/lily/ooo/main/smoketestoo_native

lily@lily-desktop:~/ooo/main/smoketestoo_native$



2012/1/12 Ariel Constenla-Haile <arie...@apache.org>

> Hi linyi li,
>
> On Mon, Jan 09, 2012 at 05:59:07PM +0800, linyi li wrote:
> > Hi Oliver,
> > I tried you configure options, but the entire build can not work well.
> >
> > My configure options is:
> >
> > ./configure --with-jdk-home=/usr/lib/jvm/java-6-sun --with-system-python
> > --enable-verbose --with-epm-url="
> > http://ftp.easysw.com/pub/epm/3.7/epm-3.7-source.tar.gz";
> >
> >
> > I downloaded cppunit_1.12.1.orig.tar.gz and installed manually. The error
> > of missing files is gone, but it stoped by the following error:
> >
> > /usr/bin/ld: cannot find -ltest
> >
> > collect2: ld returned 1 exit status
> >
> > dmake: Error code 1, while making './unxlngi6.pro/lib/libsmoketest.so'
> >
> > Then I tried to build in test module, but it prompted: "cppunit disabled.
> > Nothing to do".
> >
> > But if I added "--with-system-cppunit" in the configure, it can not be
> > built successfully.
>
> can you post the content of CPPUNIT_CFLAGS and CPPUNIT_LIBS, and the
> full output of the command when building that module?
>
> Regards
> --
> Ariel Constenla-Haile
> La Plata, Argentina
>

Reply via email to