I found an error trying to compile OOo from sorce.
The configure script ends with no errors. The configure i used is:
./configure --prefix=/opt/openoffice-2.0.2 --enable-libart
--disable-fontooo --disable-gnome-vfs --without-fonts
--with-system-stdlibs --with-system-freetype
--with-system-expat --with-system-libxml --with-system-zlib
--enable-build-mozilla --with-build-version=my_LFS
--with-package-format=native --disable-binfilter
--enable-kde --with-java --with-system-mozilla
--with-firefox --enable-libsn --disable-epm
--with-system-xrender-headers=/opt/Xorg-7.0.0/include/X11/extensions
--with-lang=ALL --enable-openldap --with-system-python
--with-jdk-home=/opt/jdk-1.5.0_05 --with-dict=ALL --with-x
After configure it i execute:
./bootstrap
and set up the environment:
. LinuxIntelEnv.Set.sh
When i issue:
dmake
it starts to compile for a while and ends with the following:
/opt/gcc-4.0.3/bin/g++ -I/opt/gcc-4.0.3/include/ -I/usr/local/include
-I/opt/Xorg-7.0.0/include/GL -I/opt/Xorg-7.0.0/include/X11
-I/usr/local/include/pango-1.0/pango -I/otp/lib/AL
-I/opt/Pyton-2.4.3/include/python2.4 -I/usr/include/nspr
-I/opt/include/firefox-1.5.0.1 -I/opt/Pyton-2.4.3/include -D_REENTRANT
-I. -I../common -I../common -D_REENTRANT -DHAVE_CONFIG_H
-DU_I18N_IMPLEMENTATION -O -c -DPIC -fPIC -o rbt_pars.ao
rbt_pars.cpp
/opt/Pyton-2.4.3/include/python2.4/symtable.h:25: error: ISO C++
forbids declaration of 'PyObject' with no type
/opt/Pyton-2.4.3/include/python2.4/symtable.h:25: error: expected ';'
before '*' token
/opt/Pyton-2.4.3/include/python2.4/symtable.h:26: error: ISO C++
forbids declaration of 'PyObject' with no type
/opt/Pyton-2.4.3/include/python2.4/symtable.h:26: error: expected ';'
before '*' token
/opt/Pyton-2.4.3/include/python2.4/symtable.h:27: error: ISO C++
forbids declaration of 'PyObject' with no type
/opt/Pyton-2.4.3/include/python2.4/symtable.h:27: error: expected ';'
before '*' token
/opt/Pyton-2.4.3/include/python2.4/symtable.h:31: error: ISO C++
forbids declaration of 'PyFutureFeatures' with no type
/opt/Pyton-2.4.3/include/python2.4/symtable.h:31: error: expected ';'
before '*' token
/opt/Pyton-2.4.3/include/python2.4/symtable.h:35: error:
'PyObject_HEAD' does not name a type
/opt/Pyton-2.4.3/include/python2.4/symtable.h:37: error: ISO C++
forbids declaration of 'PyObject' with no type
/opt/Pyton-2.4.3/include/python2.4/symtable.h:37: error: expected ';'
before '*' token
/opt/Pyton-2.4.3/include/python2.4/symtable.h:38: error: ISO C++
forbids declaration of 'PyObject' with no type
/opt/Pyton-2.4.3/include/python2.4/symtable.h:38: error: expected ';'
before '*' token
/opt/Pyton-2.4.3/include/python2.4/symtable.h:39: error: ISO C++
forbids declaration of 'PyObject' with no type
/opt/Pyton-2.4.3/include/python2.4/symtable.h:39: error: expected ';'
before '*' token
/opt/Pyton-2.4.3/include/python2.4/symtable.h:40: error: ISO C++
forbids declaration of 'PyObject' with no type
/opt/Pyton-2.4.3/include/python2.4/symtable.h:40: error: expected ';'
before '*' token
/opt/Pyton-2.4.3/include/python2.4/symtable.h:53: error: expected
constructor, destructor, or type conversion before '(' token
/opt/Pyton-2.4.3/include/python2.4/symtable.h:57: error: expected
constructor, destructor, or type conversion before '(' token
/opt/Pyton-2.4.3/include/python2.4/symtable.h:60: error: expected
constructor, destructor, or type conversion before
'PyNode_CompileSymtable'
/opt/Pyton-2.4.3/include/python2.4/symtable.h:61: error: expected
constructor, destructor, or type conversion before 'PySymtable_Free'
rbt_pars.cpp:122: error: invalid use of undefined type 'struct
icu_2_6::SymbolTable'
../common/unicode/uniset.h:22: error: forward declaration of 'struct
icu_2_6::SymbolTable'
rbt_pars.cpp: In member function 'int32_t
icu_2_6::RuleHalf::parseSection(const icu_2_6::UnicodeString&,
int32_t, int32_t, icu_2_6::UnicodeString&, const
icu_2_6::UnicodeString&, UBool)':
rbt_pars.cpp:563: error: incomplete type 'icu_2_6::SymbolTable' used
in nested name specifier
rbt_pars.cpp: In member function 'UChar
icu_2_6::TransliteratorParser::parseSet(const icu_2_6::UnicodeString&,
icu_2_6::ParsePosition&)':
rbt_pars.cpp:1420: error: no matching function for call to
'icu_2_6::UnicodeSet::UnicodeSet(const icu_2_6::UnicodeString&,
icu_2_6::ParsePosition&, icu_2_6::ParseData&, UErrorCode&)'
../common/unicode/uniset.h:1158: note: candidates are:
icu_2_6::UnicodeSet::UnicodeSet(const icu_2_6::UnicodeString&,
icu_2_6::ParsePosition&, uint32_t, UErrorCode&)
../common/unicode/uniset.h:1150: note:
icu_2_6::UnicodeSet::UnicodeSet(const icu_2_6::UnicodeString&,
icu_2_6::ParsePosition&, const icu_2_6::SymbolTable&, UErrorCode&)
../common/unicode/uniset.h:354: note:
icu_2_6::UnicodeSet::UnicodeSet(const icu_2_6::UnicodeSet&)
../common/unicode/uniset.h:338: note:
icu_2_6::UnicodeSet::UnicodeSet(const icu_2_6::UnicodeString&,
uint32_t, UErrorCode&)
../common/unicode/uniset.h:324: note:
icu_2_6::UnicodeSet::UnicodeSet(const icu_2_6::UnicodeString&,
UErrorCode&)
../common/unicode/uniset.h:313: note:
icu_2_6::UnicodeSet::UnicodeSet(UChar32, UChar32)
../common/unicode/uniset.h:303: note:
icu_2_6::UnicodeSet::UnicodeSet()
make[1]: *** [rbt_pars.ao] Error 1
rm search.ao calendar.ao udat.ao dcfmtsym.ao cpdtrans.ao numfmt.ao
rbt_data.ao unum.ao translit.ao coll.ao strmatch.ao ucol.ao
ucol_elm.ao hextouni.ao sortkey.ao smpdtfmt.ao ucal.ao ucol_cnt.ao
ucoleitr.ao format.ao ucol_wgt.ao coleitr.ao stsearch.ao decimfmt.ao
tblcoll.ao utrans.ao choicfmt.ao ucol_bld.ao bocsu.ao timezone.ao
ucln_in.ao umsg.ao buddhcal.ao datefmt.ao msgfmt.ao rbt.ao simpletz.ao
japancal.ao gregocal.ao dtfmtsym.ao fmtable.ao usearch.ao unifltlg.ao
ucol_tok.ao
make[1]: Leaving directory
`/pub/.TEMP/OOB680_m5/icu/unxlngi6.pro/misc/build/icu/source/i18n'
make: *** [all-recursive] Error 2
dmake: Error code 2, while making './unxlngi6.pro/misc/build/so_built_so_icu'
'---* tg_merge.mk *---'
ERROR: Error 65280 occurred while making /pub/.TEMP/OOB680_m5/icu
dmake: Error code 1, while making 'build_instsetoo_native'
'---* *---'
Can anyone help me?
thnks
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page