Re: Failed build of 680 m128 on Tiger

"eric.bachard" <[email protected]> Fri, 23 Sep 2005 10:47:39 +0200
Newsgroups gmane.comp.openoffice.devel.porting
Message-ID <[email protected]>
Hi,

Your break is fixed in macosx11 cws, now resync'd with m130.  The 
problem was caused by a bad test in configure.in (soin configure), and 
the most simple for you is


First solution :

- replace manually

ENABLE_NAS="YES"

with

ENABLE_NAS=""

in MacosxSet.Env.sh (in $SRC_ROOT )

do :

source MacoscSet.Env.sh

dmake


2) More work, but more clean :

- check m130 + all macosx11 projects (shell desktop config_office, 
instsetoo_native, nas, solenv,  readlicense_oo, sal, avmedia and vcl )

To checkout macosx11, (in one line) :

cvs -z4 co -r cws_src680_macosx11 shell desktop config_office 
instsetoo_native nas solenv readlicense_oo sal avmedia vcl


Adric Net a écrit :
> Hi,

> Fifteen:~/Work/ooo/680_m128/source bknowles$ ./configure --with- 
> lang="en-US" --with-x --with-jdk-home=/System/Library/Frameworks/ 
> JavaVM.framework/Home/ --with-ant-home=/Users/bknowles/Work/ooo/ 
> 680_m128/apache-ant-1.6.2/ --enable-gtk --prefix=/sw --with-freetype2  
> --with-epm=internal --with-libart --disable-mozilla --disable-gnome- vfs 
> --with-gnu-cp=/sw/bin/cp

Note : using macosx11 cws, you can use nas and/or pasf : both, or only 
one, up to you.

The switch for a build without nas is " --without-nas" in configure 
command line. Default : nas is now built.


> I'm running with libraries from fink's tiger-transisition dist, built  
> local.

> 
> ------------------------------
> Making: ../../../unxmacxp.pro/slo/nassound.obj
> g++ -fsigned-char -fmessage-length=0 -malign-natural -c -I.  -I. -I../ 
> inc -I../../../inc -I../../../unx/inc -I../../../unxmacxp.pro/inc -I.  
> -I/Users/bknowles/Work/ooo/680_m128/source/solver/680/unxmacxp.pro/ 
> inc/stl -I/Users/bknowles/Work/ooo/680_m128/source/solver/680/ 

[....cut...]

> -fno-strict-aliasing   -pipe -malign-natural -fsigned-char -Wno-long- 
> double  -Wno-ctor-dtor-privacy -fno-exceptions   -fPIC -fno-common - 
> DMACOSX -DUNX -DVCL -DGCC -DC300 -DPOWERPC -DGXX_INCLUDE_PATH=/usr/ 
> include/gcc/darwin/3.3/c++ -DCVER=C300 -D_USE_NAMESPACE -DGLIBC=2 - 
> D_PTHREADS -D_REENTRANT -DNO_PTHREAD_PRIORITY -DPOWERPC -DPPC - 
> DSTLPORT_VERSION=400 -D_USE_NAMESPACE=1 -DX_LOCALE -DNO_AUDIO - D__DMAKE 
> -DUNIX -DCPPU_ENV=gcc3 -DSUPD=680 -DPRODUCT -DNDEBUG - DPRODUCT_FULL 
> -DOSL_DEBUG_LEVEL=0 -DOPTIMIZE -DEXCEPTIONS_OFF -DCUI - DSOLAR_JAVA 
> -DSRC680 -DUSE_BUILTIN_RASTERIZER -DBUILD_OS_APPLEOSX - 
> DBUILD_OS_MAJOR=10 -DBUILD_OS_MINOR=4 -DBUILD_OS_REV=2 - 
> DVCL_DLLIMPLEMENTATION -DUSE_NAS -DUSE_PASF -DUSE_XINERAMA - DSHAREDLIB 
> -D_DLL_  -DMULTITHREAD  -o ../../../unxmacxp.pro/slo/ nassound.o 
> /Users/bknowles/Work/ooo/680_m128/source/vcl/unx/source/ app/nassound.cxx
> /Users/bknowles/Work/ooo/680_m128/source/vcl/unx/source/app/ 
> nassound.cxx:67:28: audio/audiolib.h: No such file or directory

Two problems in fact :

- without-nas not seen by confgure
- nas is not build by default


Regards,
eric bachard


-- 
<[email protected]>
Francophone OpenOffice.org Commmunity developer (Linux PPC /  Mac OS X / 
X11)
See : <http://fr.openoffice.org>