Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | Unable to Build OOo 1.1 beta - Error(s) on Compilation of idlc | ||||||
---|---|---|---|---|---|---|---|
Product: | Build Tools | Reporter: | Unknown <non-migrated> | ||||
Component: | code | Assignee: | foskey | ||||
Status: | CLOSED NOT_AN_OOO_ISSUE | QA Contact: | issues@tools <issues> | ||||
Severity: | Trivial | ||||||
Priority: | P3 | CC: | issues | ||||
Version: | OOo 1.1 Beta | ||||||
Target Milestone: | --- | ||||||
Hardware: | PC | ||||||
OS: | Linux, all | ||||||
Issue Type: | DEFECT | Latest Confirmation in: | --- | ||||
Developer Difficulty: | --- | ||||||
Attachments: |
|
Description
Unknown
2003-04-19 01:10:40 UTC
Created attachment 5750 [details]
Logs (configure, compilation, env-setting)
My Hardware Config. -------------------- CPU : AMD Athlon 1.6GHz RAM : 512 MB HDD : 160 GB (free on linux (building) part. : 3.0 GB) same as issue 6220, I suppose. You include /usr/include/linux, which probably happens because you have java in /usr - more a configure design fault rather than yours actually i've got Java at /opt/j2sdk it's Blackdown' 1.4.1-01-linux-i586-gcc3.2 BIG RED NOTE : <b>i've called you to the rescue because i'd like to have a solution/workaround for the problem - i care not who's fault is it !</b> the pre-compiled binary 1.1b apps. takes just around 10-15 sec. (!!!) to load - which is hardly bearable ! This is your problem: -I/usr/include/linux Can you check JAVA_HOME in your .set file that you source. If it is set up as you think then it should be /opt/j??? not /usr. If it is not then change it to the directory you said and rebuild. The problem is with configure. We need a little more info on how you ran configure in order to correct this properly. i've found a workaround for this issue (that works for me) : ./configure --with-jdk-home=/opt/j2sdk/1.4.1-01-linux-i586-gcc3.2 (sure enough one should replace [/opt/j2sdk/1.4.1-01-linux-i586-gcc3.2] this with the path on one' box...) thanks for helping to pin-point this issue ! :) that'd be nice if the ./configure'd auto-detect the /path/to/jdk/ by itself - like in the installation of OpenOffice ;-) Reopen - now on idlc proj.... i've setup my build-env-config-etc-and-friends as following : <building_setup> $SRC_ROOT> cd config_office $SRC_ROOT/config_office> ./configure --with-jdk-home=/opt/j2sdk/1.4.1-01-linux-i586-gcc3.2 $SRC_ROOT> bootstrap /* as i'm using bash : */ $SRC_ROOT> source LinuxIntelEnv.Set.sh $SRC_ROOT> dmake </building_setup> The current error(s) : <err> ============= Building project idlc ============= /root/dev/oo_1.1beta_src/idlc/source/preproc mkout -- version: 1.3 ------------------------------ Making: ../../unxlngi4.pro/misc/idlcpp.dpc Making : Dependencies touch ../../unxlngi4.pro/misc/idlcpp.dpc ------------------------------ [...all ok here...] Making: ../unxlngi4.pro/obj/parser.obj g++ -fmessage-length=0 -c -I. -I. -I../inc -I../inc -I../unx/inc -I../unxlngi4.pro/inc -I. -I/root/dev/oo_1.1beta_src/solver/644/unxlngi4.pro/inc/stl -I/root/dev/oo_1.1beta_src/solver/644/unxlngi4.pro/inc/external -I/root/dev/oo_1.1beta_src/solver/644/unxlngi4.pro/inc -I/root/dev/oo_1.1beta_src/solenv/unxlngi4/inc -I/root/dev/oo_1.1beta_src/solenv/inc -I/root/dev/oo_1.1beta_src/res -I/root/dev/oo_1.1beta_src/solver/644/unxlngi4.pro/inc/stl -I/root/dev/oo_1.1beta_src/solenv/inc/Xp31 -I/opt/j2sdk/1.4.1-01-linux-i586-gcc3.2/include -I/opt/j2sdk/1.4.1-01-linux-i586-gcc3.2/include/linux -I/opt/j2sdk/1.4.1-01-linux-i586-gcc3.2/include/native_threads/include -I/usr/X11R6/include -I. -I../res -I. -g -O1 -pipe -mcpu=pentiumpro -fno-for-scope -fpermissive -fno-rtti -include preinclude.h -fexceptions -fno-enforce-eh-specs -DLINUX -DUNX -DVCL -DGCC -DC300 -DINTEL -DCVER=C300 -D_USE_NAMESPACE -DGLIBC=2 -DX86 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR -D_USE_NAMESPACE=1 -DSTLPORT_VERSION=400 -D__DMAKE -DUNIX -DCPPU_ENV=gcc3 -DSUPD=644 -DBUILD=8557 -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOPTIMIZE -DEXCEPTIONS_ON -DCUI -DSOLAR_JAVA -DSRX644 -DMULTITHREAD -DMULTITHREAD -w -o ../unxlngi4.pro/obj/parser.o ../unxlngi4.pro/misc/parser.cxx ../unxlngi4.pro/misc/parser.cxx: In function `int yyparse()': ../unxlngi4.pro/misc/parser.cxx:4740: parse error before `goto' dmake: Error code 1, while making '../unxlngi4.pro/obj/parser.obj' ---* TG_SLO.MK *--- </err> This flex problem looks like a duplicate of issue 13385. Are you using very new versions of the flex tool like Debian linux unstable? The Java problem has an issue 12892. I am currently involved in a port so I cannot work on it. Please feel free to work out a patch :-) nope, i'm using not else but Sorcerer Linux ( http://sorcerer.wox.org/ ) ! :) the installed flex version is 2.5.4a The version that works for me is 2.5.4, the version that break is 2.5.4a. Can you get a downgrade flex and try again? flex 2.5.4's not working for me too... :( not that's so important, but now it 3 days that i use the 2.4.21-rc1 kernel Found it. The problem is your release of Bison. http://www.openoffice.org/issues/show_bug.cgi?id=11386 that surely'd be nice if i could get bison-1.875a from http://ftp.gnu.org/gnu/bison/ unfortunately, i can NOT - because there just NO such (official ?) version exist... :( I did some searching and found some info: http://www.openoffice.org/issues/show_bug.cgi?id=11386 reassigned to mh mh->waratah: do we still have an issue on the beta2 tree ? This has been handled by update to the FAQ. There is no fix, it is a buggy release of bison. Closing resolved invalid. Closing resolved invalid. Please re-open if you think this decision is wrong. |