Hi Roddi,
first of all welcome to the team.
On 18.02.2005, at 02:15, Ruotger Skupin wrote:
I am a Cocoa developer and I'm thinking about joining the effort. To get started I tried to build OOo from freshly checked out sources.Did you check out the latest sources, i.e. without specifying a milestone?
Currently we are using Milestone 79 of the upcoming OOo 2.0 which requires a co command similar to this:
cvs -z4 co -rSRC680_m79 OpenOffice
Right now this does not build right out of cvs. So if you run into trouble somewhere you might first search the mailing list archives for a solution to your problem.
I followed the instructions in (http://porting.openoffice.org/mac/build_11_X11.html) and got stuck withThe output below has nothing to do with java but you might consider adding --with-jdk-home=$JAVA_HOME to your configure command nevertheless.
Building OpenOffice.org
2. ./configure --with-x
I set my JAVA_HOME variable according to this technote from apple: http://developer.apple.com/qa/qa2001/qa1170.html
Any help appreciated
Thanks Roddi
[Ferox:~/Development/OOoCVS/config_office] roddi% env
TERM_PROGRAM=Apple_Terminal
TERM=xterm-color
SHELL=/bin/bash
TERM_PROGRAM_VERSION=100.1.4
USER=roddi
__CF_USER_TEXT_ENCODING=0x1F6:0:3
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin
PWD=/Users/roddi/Development/OOoCVS/config_office
SHLVL=2
HOME=/Users/roddi
LOGNAME=roddi
SECURITYSESSIONID=2113b0
_=/bin/tcsh
OLDPWD=/Users/roddi/Development/OOoCVS
HOSTTYPE=powermac
VENDOR=apple
OSTYPE=darwin
MACHTYPE=powerpc
GROUP=roddi
HOST=Ferox
JAVA_HOME=/Library/Java/Home
[Ferox:~/Development/OOoCVS/config_office] roddi% setenv PATH ${PATH}:/usr/X11R6/bin
[Ferox:~/Development/OOoCVS/config_office] roddi% env
TERM_PROGRAM=Apple_Terminal
TERM=xterm-color
SHELL=/bin/bash
TERM_PROGRAM_VERSION=100.1.4
USER=roddi
__CF_USER_TEXT_ENCODING=0x1F6:0:3
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/X11R6/bin
PWD=/Users/roddi/Development/OOoCVS/config_office
SHLVL=2
HOME=/Users/roddi
LOGNAME=roddi
SECURITYSESSIONID=2113b0
_=/bin/tcsh
OLDPWD=/Users/roddi/Development/OOoCVS
HOSTTYPE=powermac
VENDOR=apple
OSTYPE=darwin
MACHTYPE=powerpc
GROUP=roddi
HOST=Ferox
JAVA_HOME=/Library/Java/Home
[Ferox:~/Development/OOoCVS/config_office] roddi% ./configure --with-x
********************************************************************
* *
* OpenOffice.org build configuration. *
* *
* The configure proces checks your platform to see whether *
* you can build OpenOffice.org on it. *
* This proces checks all pre-requisites and generates a file *
* containing the necessary environment variables. *
* Source this file after configure has ended successfully. *
* *
* Any warning that is generated during the configure process *
* must be taken into account, since it can be a reason for *
* an unsuccessful build of OpenOffice.org *
* *
********************************************************************
******************************************************************** * * * Checking the platform pre-requisites. * * * ********************************************************************
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking for awk... /usr/bin/awk
checking for sed... /usr/bin/sed
checking the operating system... Darwin
checking whether to enable crashdump feature... no
checking whether to do a debug build... no
checking whether to build with additional debug utilities... no, full product build
checking whether to include symbols into final build... no
checking whether to enable native CUPS support... no
checking whether to enable fontconfig supprt... no
checking whether to use RPATH in shared libraries... yes
checking whether to include MySpell dictionaries... yes
checking which shell to use... tcsh
checking for tcsh... /bin/tcsh
checking gcc home... /usr
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for gcc... /usr/bin/gcc
checking the GNU gcc compiler version... checked (gcc 3.3)
checking whether gcc supports -fvisibility=hidden... no
checking for rpm... not found
checking for GNU make... make
checking the GNU make version... make 3.79
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking the GNU C++ compiler version... checked (g++ 3.3)
checking exception type... dwarf2
checking for STLport4 headers... using internal stlport.
checking whether to build with Java support... yes
checking for java... /usr/bin/java
checking the installed JDK... checked (JDK 1.4.2_05)
checking for javac... /usr/bin/javac
checking for javadoc... /usr/bin/javadoc
./configure: line 1: readlink: command not found
./configure: line 1: readlink: command not found
configure: WARNING: JAVA_HOME is set to /usr - this is very likely to be incorrect
configure: WARNING: if this is the case, please inform the correct JAVA_HOME with --with-jdk-home
configure: WARNING: JAVA_HOME was not explicitly informed with --with-jdk-home. the configure script
configure: WARNING: attempted to find JAVA_HOME automatically, but apparently it failed
configure: WARNING: in case JAVA_HOME is incorrectly set, some projects with not be built correctly
./configure: line 1: readlink: command not found
./configure: line 1: readlink: command not found
configure: WARNING: JAVA_HOME is set to /usr - this is very likely to be incorrect
configure: WARNING: if this is the case, please inform the correct JAVA_HOME with --with-jdk-home
configure: WARNING: JAVA_HOME was not explicitly informed with --with-jdk-home. the configure script
configure: WARNING: attempted to find JAVA_HOME automatically, but apparently it failed
configure: WARNING: in case JAVA_HOME is incorrectly set, some projects with not be built correctly
checking for perl... /usr/bin/perl
checking the Perl version... checked (perl 5)
checking for required Perl modules... Can't locate Archive/Zip.pm in @INC (@INC contains: /System/Library/Perl/5.8.1/darwin-thread-multi-2level /System/Library/Perl/5.8.1 /Library/Perl/5.8.1/darwin-thread-multi-2level /Library/Perl/5.8.1 /Library/Perl /Network/Library/Perl/5.8.1/darwin-thread-multi-2level /Network/Library/Perl/5.8.1 /Network/Library/Perl .) at -e line 1.
BEGIN failed--compilation aborted at -e line 1.
configure: error: Failed to find some modules
Yeah, you have to install that first using (a missing perl module): $ sudo cpan cpan> install Archive::Zip
If you have never used cpan before it might ask you for some configuration settings.
Good luck and best regards, Florian
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
