View previous topic :: View next topic |
Author |
Message |
OPENSTEP The One
Joined: May 25, 2003 Posts: 4752 Location: Santa Barbara, CA
|
Posted: Thu Jul 15, 2004 8:24 pm Post subject: Broken OOo build...patch needed for config_office |
|
In case anyone else is trying to build...it seems that set_soenv is currently broken on the ooo112_fix2 branch. The symptom is the build failing on gcach_ftyp.cxx. You need to search for the following line in config_office/set_soenv:
Code: |
$XINC = PosixFormat('/usr/include'); # X11 includes
|
and change it to the following
Code: |
$XINC = PosixFormat('/usr/X11R6/include'); # X11 includes
|
I really have no clue how this broke or when or if...it was fine just a few weeks ago...
ed |
|
Back to top |
|
|
pluby The Architect
Joined: Jun 16, 2003 Posts: 11949
|
Posted: Thu Jul 15, 2004 9:11 pm Post subject: |
|
Ed,
I did a CVS update on set_soenv.in and set_soenv and there have been no changes in those files since I checked them out.
I believe that the problem is that the configure script is detecting your Apple X11 header files in /usr/include first and is sed'ing that directory into set_soenv.
The better solution, which I have commited to the CVS repository, is to add "--x-includes=/usr/X11R6/include" to the NeoJ makefile line that invokes configure. This should force /usr/X11R6/include to be checked first.
Patrick |
|
Back to top |
|
|
OPENSTEP The One
Joined: May 25, 2003 Posts: 4752 Location: Santa Barbara, CA
|
Posted: Fri Jul 16, 2004 8:26 pm Post subject: |
|
Ah yes...very cleverl. There is an X11 directory now in includes Perhaps the fix needs to be different then...the problem is that while the X11 now seem to be in there (directly, too, not links!) but the freetype headers are still off of the /usr/X11R6 stem.
I don't think I've done a clean Apple X11 only install on my dev box in a long time...I'm not sure if it puts on two copies of the headers or what. Will need to check.
Anyway, the build's almost done I had some issues with my cube yesterday but life seems to be good now (upgrading video card...now I have two monitors and oodles of space).
ed |
|
Back to top |
|
|
pluby The Architect
Joined: Jun 16, 2003 Posts: 11949
|
Posted: Sat Jul 17, 2004 10:03 am Post subject: |
|
Ed,
Just for kicks, can you try out my makefile fix for this? You can do the following to prevent OOo from rebuilding:
1. cd to the "neojava" directory and cvs update
2. move the build.configure file out of the way (but don't delete it)
3. move the build/MacosxEnv.Set file out of way (but don't delete it)
4. execute "make build.configure"
5. delete build.configure and move your old build.configure back to build.configure
6. diff build/MacosxEnv.Set and your old build/MacosxEnv.Set to see if they are the same
If they are the same, then we my fix works.
Patrick |
|
Back to top |
|
|
OPENSTEP The One
Joined: May 25, 2003 Posts: 4752 Location: Santa Barbara, CA
|
Posted: Mon Jul 19, 2004 9:27 pm Post subject: Fix works! |
|
Just got back to work after a weekend of chores & car washing (took 6 hours!) & photo framing & server maintenance...
The configure fix works just fine on my box Thanks patrick!!!
ed |
|
Back to top |
|
|
|