I was wrong I thought the I set the --without-stlport flag, but did not. I just
set it and reconfigured. Now I am receiving this.
Entering /opt/aoo-4.0.0/main/sal/rtl/source
--- ALWAYSDBGFILES ---
--- ALWAYSDBGFILES OVER ---
Compiling: sal/rtl/source/hash.cxx
"/opt/aoo-4.0.0/main/sal/rtl/source/hash.cxx", line 32: Error: Could not open
include file<hash_set>.
"/opt/aoo-4.0.0/main/sal/rtl/source/hash.cxx", line 56: Error: hash_set is not
a member of std.
"/opt/aoo-4.0.0/main/sal/rtl/source/hash.cxx", line 56: Error: A declaration
does not specify a tag or an identifier.
"/opt/aoo-4.0.0/main/sal/rtl/source/hash.cxx", line 56: Error: Use ";" to
terminate declarations.
"/opt/aoo-4.0.0/main/sal/rtl/source/hash.cxx", line 56: Error: A declaration
was expected instead of "<".
"/opt/aoo-4.0.0/main/sal/rtl/source/hash.cxx", line 56: Error: There must be an
identifier to declare.
"/opt/aoo-4.0.0/main/sal/rtl/source/hash.cxx", line 59: Warning: Implicit int
is not supported in C++.
"/opt/aoo-4.0.0/main/sal/rtl/source/hash.cxx", line 59: Error: "," expected
instead of "*".
"/opt/aoo-4.0.0/main/sal/rtl/source/hash.cxx", line 63: Error: A declaration
was expected instead of "if".
"/opt/aoo-4.0.0/main/sal/rtl/source/hash.cxx", line 63: Error: No direct
declarator preceding "(".
"/opt/aoo-4.0.0/main/sal/rtl/source/hash.cxx", line 65: Warning: Implicit int
is not supported in C++.
"/opt/aoo-4.0.0/main/sal/rtl/source/hash.cxx", line 65: Error: Multiple
declaration for pInternPool.
"/opt/aoo-4.0.0/main/sal/rtl/source/hash.cxx", line 65: Error: aImpl is not
defined.
"/opt/aoo-4.0.0/main/sal/rtl/source/hash.cxx", line 67: Error: A declaration
was expected instead of "return".
"/opt/aoo-4.0.0/main/sal/rtl/source/hash.cxx", line 67: Warning: Implicit int
is not supported in C++.
"/opt/aoo-4.0.0/main/sal/rtl/source/hash.cxx", line 68: Error: A declaration
was expected instead of "}".
"/opt/aoo-4.0.0/main/sal/rtl/source/hash.cxx", line 70: Error: A declaration
was expected instead of "}".
"/opt/aoo-4.0.0/main/sal/rtl/source/hash.cxx", line 78: Error: pHash is not
defined.
"/opt/aoo-4.0.0/main/sal/rtl/source/hash.cxx", line 78: Error: The function
"getHashTable" must have a prototype.
"/opt/aoo-4.0.0/main/sal/rtl/source/hash.cxx", line 79: Error: StringHashTable
is not defined.
"/opt/aoo-4.0.0/main/sal/rtl/source/hash.cxx", line 79: Error: iterator is not
defined.
"/opt/aoo-4.0.0/main/sal/rtl/source/hash.cxx", line 79: Error: aIter is not
defined.
"/opt/aoo-4.0.0/main/sal/rtl/source/hash.cxx", line 79: Error: Badly formed
expression.
"/opt/aoo-4.0.0/main/sal/rtl/source/hash.cxx", line 80: Error: aIter is not
defined.
"/opt/aoo-4.0.0/main/sal/rtl/source/hash.cxx", line 80: Error: pHash is not
defined.
"/opt/aoo-4.0.0/main/sal/rtl/source/hash.cxx", line 81: Error: aIter is not
defined.
"/opt/aoo-4.0.0/main/sal/rtl/source/hash.cxx", line 81: Error: pHash is not
defined.
"/opt/aoo-4.0.0/main/sal/rtl/source/hash.cxx", line 83: Error: aIter is not
defined.
Compilation aborted, too many Error messages.
dmake: Error code 2, while making '../../unxsoli4.pro/obj/hash.obj'
1 module(s):
sal
need(s) to be rebuilt
Reason(s):
ERROR: error 65280 occurred while making /opt/aoo-4.0.0/main/sal/rtl/source
When you have fixed the errors in that module you can resume the build by
running:
build --all:sal
Also, here is my configuration and env.
#!/bin/bash
export ANT_HOME=/usr/local/ant/
export JAVA_HOME=/usr/jdk/latest
export
PATH=$ANT_HOME:/usr/local/ant/bin/:/usr/local/bin:/usr/local/include:/opt/solarisstudio12.3/bin:/usr/sfw/bin:/usr/xpg4/bin:/usr/ccs/bin/:/usr/sbin:/usr/bin:/usr/dt/bin:/usr/openwin/bin:/usr/ucb:/usr/local/sbin:/usr/local/ssl:/opt/aoo-4.0.0/main/solenv/bin/
export M4=/usr/local/bin/m4
export
LD_LIBRARY_PATH=$LD_LIBRAY_PATH:/usr/lib:$ANT_HOME/lib:/opt/solarisstudio12.3/lib:/usr/jdk/instances/jdk1.7.0/jre/lib/i386/client:/usr/sfw/lib/
export CC=/opt/solarisstudio12.3/bin/cc
export CXX=/opt/solarisstudio12.3/bin/CC
export CXXFLAGS="-I/usr/local/include -I/usr/include
-I/opt/solarisstudio12.3/prod/include/CC/Cstd -I/usr/local/include/rasqal
-I-I/usr/local/include/mdds"
export APR_LIBS=/usr/local/apr/lib
export APR_CFLAGS=/usr/local/apr/include/
export
PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/apr/lib/pkgconfig/:/usr/local/lib/pkgconfig/:/usr/local/serf/lib/pkgconfig/:/usr/local/share/pkgconfig
export REDLAND_LIBS=/usr/local/lib/
export REDLAND_CFLAGS=/usr/local/include
export HUNSPELL_LIBS=/usr/local/lib/
export HUNSPELL_CFLAGS=/usr/local/include/hunspell
export SERF_LIBS=/usr/local/serf/lib
export SERF_CFLAGS=/usr/local/serf/include
export SOLARINV=$SOLARINV:" -I/usr/local/include -I/usr/include
-I/usr/local/include/rasqal -I/usr/include/stdcxx4"
export SOLARINC=$SOLARINC:" -I/usr/local/include -I/usr/include
-I/usr/local/include/rasqal -I/usr/include/stdcxx4"
#!/bin/bash
./configure \
--includedir=/usr/local/include \
--oldincludedir=/usr/local/include \
--with-dmake-path="/usr/local/bin/dmake" \
--with-epm-url=http://www.msweet.org/files/project2/epm-3.7-source.tar.gz \
--with-gnu-patch=/usr/bin/gpatch \
--with-gnu-cp=/usr/local/bin/cp \
--with-gperf=/usr/local/bin/gperf \
--with-system-serf \
--with-system-zlib \
--with-system-openssl \
--with-system-jpeg \
--with-system-libxml \
--with-system-python \
--with-system-icu \
--with-system-poppler \
--with-system-lucene \
--with-lucene-core-jar=/usr/local/lib/lucene-core-2.9.4.jar \
--with-lucene-analyzers-jar=/usr/local/lib/lucene-analyzers-2.9.4.jar \
--with-commons-codec-jar=/usr/local/lib/commons-codec-1.8.jar \
--with-commons-lang-jar=/usr/local/lib/commons-lang3-3.1.jar \
--with-commons-httpclient-jar=/usr/local/lib/httpclient-4.2.5.jar \
--with-commons-logging-jar=/usr/local/lib/commons-logging-1.1.3.jar \
--with-system-mysql \
--with-system-mysql-cppconn \
--with-system-hsqldb \
--with-hsqldb-jar=/usr/local/lib/hsqldb.jar \
--with-system-libxslt \
--with-system-curl \
--with-system-mythes \
--with-system-cppunit \
--with-system-redland \
--with-system-boost \
--without-stlport \
--with-system-apr \
--with-system-apr-util \
--with-system-apache-commons \
--with-system-cairo \
--disable-cups \
--with-jdk-home=/usr/jdk/latest/ \
--with-ant-home=/usr/local/ant/bin/ant \
--with-system-openssl=/usr/sfw/bin/openssl \
--with-junit=/usr/local/java/lib/junit-4.11.jar \
--disable-Xaw \
--disable-randr \
--disable-report-builder \
--disable-mozilla \
--disable-systray \
--disable-category-b \
--enable-pdfimport \
--enable-wiki-publisher \
--with-lang="en" \
--with-dict=ALL \
--with-package-format="installed"
________________________________________
From: Steele, Raymond
Sent: Monday, September 16, 2013 11:40 AM
To: Herbert Duerr; [email protected]
Subject: RE: EXTERNAL: Re: Building comphelper
I removed the -library=no%Cstd from the two files and performed a clean build,
but still have the same issues. Also, I am untarring the BOOST package version
1.48 so I downloaded the zipped version and unzipped it, placed the resulting
boost directory in /usr/local/include after using --with-system-boost
configuration. Still no luck. I also reconfigured with --without-stlport. It
still appears that I it is using
/opt/aoo-4.0.0/main/solver/400/unxsoli4.pro/inc/stl/climits.SUNWCCh.
________________________________________
From: Herbert Duerr [[email protected]]
Sent: Friday, September 13, 2013 3:40 AM
To: [email protected]
Cc: Steele, Raymond
Subject: Re: EXTERNAL: Re: Building comphelper
On 12.09.2013 20:15, Steele, Raymond wrote:
> Yes, the modified vigra config.hxx allowed basebmp to be built. I am using
> --with-system-boost, however, I just did a reconfigure after removing it and
> ran into issues during the boost build. I receive the following hundreds of
> times until it fails.
Good, so the vigra erf() problem can be considered as solved.
> /usr/sfw/bin/gtar: Archive value 4294967295 is out of gid_t range
> -2147483648..2147483647
> [...]
>
> I am not sure why. Looking into it now.
I found [1] ("Whoever created that tar file did so on a platform that
allows gid_t values of 32bits."), and this probably means the boost
tarball was packed on a too new system. Or that gtar on your system
needs to be updated.
[1] http://comments.gmane.org/gmane.comp.gnu.mingw.msys/4816
> Also, here is filtered output from the CC -E of partial.cxx. I grep'd for
> limits, as you can see in the command I issued.
>
> bash-3.2# /opt/solarisstudio12.3/bin/CC -E -temp=/tmp -xarch=generic -xO3
> -DENABLE_LAYOUT=0 -DENABLE_LAYOUT_EXPERIMENTAL=0 -xldscope=hidden -I.
> -I../unxsoli4.pro/inc/configmgr -I../inc -I../inc/pch -I../inc -I../unx/inc
> -I../unxsoli4.pro/inc -I.
> -I/opt/aoo-4.0.0/main/solver/400/unxsoli4.pro/inc/stl
> -I/opt/aoo-4.0.0/main/solver/400/unxsoli4.pro/inc/external
> -I/opt/aoo-4.0.0/main/solver/400/unxsoli4.pro/inc
> -I/opt/aoo-4.0.0/main/solenv/unxsoli4/inc -I/opt/aoo-4.0.0/main/solenv/inc
> -I/opt/aoo-4.0.0/main/res
> -I/opt/aoo-4.0.0/main/solver/400/unxsoli4.pro/inc/stl
> -I/opt/solarisstudio12.3/include -I/opt/aoo-4.0.0/main/solenv/inc/Xp31
> -I/usr/jdk/latest/include -I/usr/jdk/latest/include/solaris
> -I/usr/jdk/latest/include/native_threads/include: -I/usr/local/include
> -I/usr/include -I/usr/local/include/boost
> -I/opt/solarisstudio12.3/prod/include/CC/Cstd/ -I/usr/local/include/rasqal:
> -I/usr/local/include -I/usr/include -I/usr/local/include/boost
> -I/usr/local/include/rasqal -I/usr/include/std
cxx4 -I/opt/aoo-4.0.0/main/solver/400/unxsoli4.pro/inc/offuh -I. -I../res -I.
-features=no%altspell -library=no%Cstd "-features=rvalueref" +w2
-erroff=doubunder,identexpected,inllargeuse,inllargeint,notemsource,reftotemp,truncwarn,wnoretvalue,anonnotype
-KPIC -mt -DSOLARIS -DUNX -DVCL -DC52 -DC52 -DINTEL -D_PTHREADS -DSYSV -DSUN
-DSUN4 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DSTLPORT_VERSION=400 -D__DMAKE
-DUNIX -DCPPU_ENV=sunpro5 -DSUPD=400 -DPRODUCT -DNDEBUG -DOSL_DEBUG_LEVEL=0
-DOPTIMIZE -DCUI -DSOLAR_JAVA -DSHAREDLIB -D_DLL_ -DEXCEPTIONS_ON -o
/tmp/file /opt/aoo-4.0.0/main/configmgr/source/partial.cxx|grep -i limit
The compiler option "-library=no%Cstd" could have introduced some
trouble. In AOO 4.0 we want to use this compiler STL (wrapped with
boost's TR1 library to fill the missing TR1 pieces and for easier porting).
I see this flag is set in
main/solenv/inc/unxsol*.mk
and in
main/solenv/gbuild/platform/solaris.mk
and suggest to remove it in all places.
> #1 "/opt/aoo-4.0.0/main/solver/400/unxsoli4.pro/inc/stl/climits.SUNWCCh"
This header shouldn't be there if your configure step used the
"--without-stlport" option. If you didn't use the option then please
reconfigure the AOO build using it.
Please see e.g. the Linux configure options in [2] as a reference.
[2]
https://cwiki.apache.org/confluence/display/OOOUSERS/Development+Snapshot+Builds
> [other lines matching a grep for "limit"]
These other grepped lines are interesting too, but with the two
suggestions I made things could change considerably here.
Herbert
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]