Welcome to NeoOffice developer notes and announcements
NeoOffice
Developer notes and announcements
 
 

This website is an archive and is no longer active
NeoOffice announcements have moved to the NeoOffice News website


Support
· Forums
· NeoOffice Support
· NeoWiki


Announcements
· Twitter @NeoOffice


Downloads
· Download NeoOffice


  
NeoOffice :: View topic - Broken OOo build...patch needed for config_office
Broken OOo build...patch needed for config_office
 
   NeoOffice Forum Index -> NeoOffice Development
View previous topic :: View next topic  
Author Message
OPENSTEP
The One
The One


Joined: May 25, 2003
Posts: 4752
Location: Santa Barbara, CA

PostPosted: 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
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: 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
The One


Joined: May 25, 2003
Posts: 4752
Location: Santa Barbara, CA

PostPosted: Fri Jul 16, 2004 8:26 pm    Post subject:

Ah yes...very cleverl. There is an X11 directory now in includes Smile 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 Smile 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
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: 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
The One


Joined: May 25, 2003
Posts: 4752
Location: Santa Barbara, CA

PostPosted: 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 Smile Thanks patrick!!!

ed
Back to top
Display posts from previous:   
   NeoOffice Forum Index -> NeoOffice Development All times are GMT - 7 Hours
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Powered by phpBB © 2001, 2005 phpBB Group

All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest © Planamesa Inc.
NeoOffice is a registered trademark of Planamesa Inc. and may not be used without permission.
PHP-Nuke Copyright © 2005 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.