Most helpful Tora!
tora - Takamichi Akiyama schrieb:
Ulf Wendel wrote:
> cd ./unxsoli4.pro/misc/build/hsqldb/ &&
/export/home/nixnutz/oo.org-m28/external/common/apache-ant-1.7.0/bin/ant
-Dbuild.label="build-300m28(Build:9337)" -f build/build.xml jar &&
touch
/export/home/nixnutz/oo.org-m28/hsqldb/./unxsoli4.pro/misc/build/so_built_so_hsqldb
>
> /usr/bin/bash:
>
/export/home/nixnutz/oo.org-m28/external/common/apache-ant-1.7.0/bin/ant:
> No such file or directory
> dmake: Error code 127, while making
In my case, no error can be seen around the line:
cd ./unxsoli4.pro/misc/build/hsqldb/ &&
/usr/local/apache-ant-1.7.0/bin/ant
-Dbuild.label="build-300m29(Build:9339)" -f build/build.xml jar &&
touch
/ooo/mws/DEV300/trunk/hsqldb/./unxsoli4.pro/misc/build/so_built_so_hsqldb
Ant has been downloaded from http://ant.apache.org/bindownload.cgi
and then expanded under /usr/local/
I do have SUNWant installed (/usr/sft/lib/ant, /usr/sfw/bin/ant, ...).
However, I did not set --with-[ant-something] when configuring OOo. I
ended up downloading ant and putting it in external/common/ . That
worked more or less flawless. The ant script external/common/.../bin/ant
first bailed a bit at me stating that it could not find javac in
NO_JAVA_HOME/bin/javac (or something similar, I don't recall). But that
got solved by export JAVACMD=/usr/bin/java .
Additional information that might help:
mv /usr/bin/patch /usr/bin/patch-renamed
ln -s gpatch /usr/bin/patch
Absolutely! OOo [and/or the bundled libraries] insists on using GNU
patch. Either do that or modify PATH to ensure that GNU patch comes
before the other patch:
export
PATH=$PATH:/opt/SunStudioExpress/bin/:/usr/gnu/bin:/usr/bin:/usr/X11/bin:/usr/sbin:/sbin:/usr/local/bin/
ln -s gmake /usr/sfw/bin/make
FULLACK. See my other post. I'm only waiting for anybody to confirm the
assumption that for a complete OOo build you must use gmake and not Sun
make. Even "dmake clean" is using GNU make only flags...
export
PATH=/usr/sbin:/usr/bin:/opt/SUNWspro/bin:/usr/sfw/bin:/opt/sfw/bin:/usr/ccs/bin
Ok, similar, not exactly the same one I use... (see below)
export CC=/usr/sfw/bin/gcc
Please tell me about this one! I am still trying to compile it with the
Sun compilers. I don't trust the GCC that comes with OpenSolaris. Its
build against Sun ld and Sun ar. That caused some pain.
I'm trying to get CC=cc CXX=CC ./configure [...] to work.
perl -MCPAN -e
'$CPAN::Defaultsite="http://ftp.nara.wide.ad.jp/pub/CPAN"; shell'
perl -MCPAN -e shell
install Archive::Zip
ACK, done that.
mkdir /usr/local
cd /usr/local
wget -N
http://www.meisei-u.ac.jp/mirror/apache/dist/ant/binaries/apache-ant-1.7.0-bin.tar.bz2
/usr/sfw/bin/gtar -jxf apache-ant-1.7.0-bin.tar.bz2
j2se: http://java.sun.com/products/archive/j2se/1.4.1_03/index.html
Configure:
export LANG=C
export
PATH=/opt/SUNWspro/bin:/usr/sfw/bin:/usr/bin:/usr/ccs/bin:/usr/openwin/bin:/usr/local/bin
export CC=/opt/SUNWspro/bin/cc
export CXX=/opt/SUNWspro/bin/CC
export CPPFLAGS="-I/opt/sfw/include -I/usr/sfw/include
-I/opt/sfw/cups/include -I/usr/openwin/include -I/usr/X11R6/include"
export CFLAGS="$CPPFLAGS"
export CXXFLAGS="$CFLAGS"
./configure \
--without-system-stdlibs \
--with-jdk-home=/usr/j2se \
--with-gnu-cp=/opt/sfw/bin/cp \
--with-ant-home=/usr/local/apache-ant-1.7.0 \
--with-lang="ja" \
--with-use-shell=bash
Ok, will try.
http://wiki.services.openoffice.org/wiki/Compiler_versions_used_by_port_maintainers_and_release_engineers
Aha... will have a look.
My current issue is on jni.h. I'm trying to pass additional CPPFLAGS but
maybe its just about this --without-java vs. --with-jdk-home.
Ulf
PS: Yes, I noticed that its a good strategy to start a new terminal
after source <os>-<something> and compile errors as source
<os>-<something> plays with the environment.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]