incubator-ooo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eike Rathke <...@erack.de>
Subject Re: Try to build OOo , but meet error......
Date Mon, 04 Jul 2011 14:17:15 GMT
Hi L'oiseau,

On Friday, 2011-07-01 08:07:38 +0800, L'oiseau de mer wrote:

> CONFIG parametres is:
> ./configure --prefix=/opt/OOO340test1 --disable-mozilla --disable-cups --with-gn
> u-cp=/usr/gnu/bin/cp --disable-gstreamer --disable-librsvg --without-junit --ena
> ble-verbose --disable-gtk --disable-kde --disable-kde4 --disable-vcl

--disable-vcl isn't an available option. And I think --disable-librsvg
isn't as well.

> export CC=/opt/solstudio12.2/bin/cc
> export CXX=/opt/solstudio12.2/bin/CC

Try without setting CC and CXX, configure should find them as
/opt/solstudio12.2/bin is in your $PATH, or if that doesn't help try
setting CC=cc and CXX=CC without paths. Some configure checks may rely
on the executable name only, without path.

> export LD_LIBRARY_PATH=/usr/sfw/lib           (because mod vcl need freetype)
> mv /usr/ccs/bin/make /usr/ccs/bin/sunmake
> cp /usr/sfw/bin/gmake /usr/ccs/bin/make

I doubt that forcing make to GNU make this way will work, modules that
expect the Sun make may not compile any longer. Instead, export
GNUMAKE=gmake before configure.

> $PATH is:
> /usr/jdk/instances/jdk1.6.0/bin:.:/UNIX-LAB/OOO340-c904c1944462/solenv/unxsoli4/bin:/UNIX-LAB/OOO340-c904c1944462/solenv/bin:/usr/ccs/bin:/usr/gnu/bin/:/opt/solstudio12.2/bin/:/usr/sbin:/usr/bin:/usr/dt/bin:/usr/openwin/bin:/usr/ucb:/usr/sfw/bin/:/opt/solstudio12.2

> [ build LNK ] Library/libdesktop_detectorsi.so
> usage: CC [ options ] files.  Use 'CC -flags' for details
> /usr/gnu/bin/cp: cannot stat
> `/UNIX-LAB/OOO340-c904c1944462/solver/340/unxsoli4.pro/workdir/LinkTarget/Library/libdesktop_detectorsi.so':
> No such file or directory
> ===============================================
> Maybe is SunCC's option is different with gcc, i want to find this
> Makefile and modify CFLAGS,

Once the correct platform and compiler are determined the build system
takes care of the different settings. I think you somehow mislead
configure.

> but can't find, i don't understand this OOo build system.
> Now i want to disabled the vcl module, but i don't know how to skip it
> in building.

You can't disable vcl, it is needed.

  Eike

-- 
 PGP/OpenPGP/GnuPG encrypted mail preferred in all private communication.
 Key ID: 0x293C05FD - 997A 4C60 CE41 0149 0DB3  9E96 2F1A D073 293C 05FD

Mime
View raw message