[OGo-MacOSX] Unclear about compiling on MacOSX

Alexander Lamb macosx@opengroupware.org
Wed, 19 Apr 2006 09:14:38 +0200


Ok, now I am confused!

What is the difference between building SOPE with XCode and doing a ./ 
configure then make?

 From what I saw (I also refered to the explanations on the site:  
http://philippe.laval.free.fr/Programmation/SOPE/) when compiling  
SOPE, you get a set of .framekwork directories in your Library. I  
then copy them to the /Library of the system. This seems familiar.

What is different when doing a ./configure then make?

 From what I understand, it doesn't create .framework directories but  
a load of libraries in my /usr/local/lib directory such as  
libEOControl_d.dylib as well as a SOPE-4.5 directory with database  
adaptors among other things.
It also installed headers in the include directory and a few  
executables in the bin directory.

Is this correct?

If so, it would be nice to have a list of what is installed and what  
is the purpose of the files (especially the executables).

Now, three questions before I go forward: (I had trouble building OGo  
in spite of the successfull build of SOPE)

1)
Why this very "unix like" install when the .framework solution seems  
to be working fine?

2)
Where are the WOComponents (.wod directories)?

3)
(Maybe a stupid question) what is FHS?

For info, here is the output of my ./configure: (I did follow the  
GNUmake instructions)

GNUstep environment:
   system: /Users/alamb/GNUstep
   local:  /Users/alamb/GNUstep
   user:   /Users/alamb/GNUstep
   path:   /Users/alamb/GNUstep
   flat:   yes
   arch:   i386-apple-darwin8.6.1
   combo:  apple-apple-nil

Note: will install in default location: /usr/local/

Configuration:
   FHS:    install in FHS root
   debug:  yes
   strip:  no
   prefix:     /usr/local/
   frameworks:
   gstep:      /Users/alamb/GNUstep/Library/Makefiles/
   config:     /Users/alamb/_Workspace/SOPE-4.5/config.make
   script:     /Users/alamb/GNUstep/Library/Makefiles//GNUstep.sh

creating: /Users/alamb/_Workspace/SOPE-4.5/config.make
optional library found: xml2
optional library found: ldap
required library found: ssl
optional library found: pq
optional library found: sqlite3
failed to link optional library: mysqlclient
configuring NGStreams library .... done (log in config-NGStreams.log).


--
Alexander Lamb
alamb@mac.com



On Apr 18, 2006, at 2:16 PM, Helge Hess wrote:

> On 18. Apr 2006, at 14:08 Uhr, Alexander Lamb wrote:
>> I managed to compile SOPE 4.5 revision 1249 without any problems  
>> (Tiger, last version). Maybe because I am lazy, I used XCode.
>
> OGo doesn't work with the Xcode build results, it requires a gstep- 
> make build (either in FHS or with a GNUstep environment).
>
>> Now, I am wondering how to compile OGo for which I downloaded  
>> version 1.1.3 revision 1571.
>
> Just follow the build instructions from the website *including*  
> SOPE :-)
>
>> In the readme and on the web site it is basically said I have to  
>> use GNUStepMake. But for that I need to install GNUStepMake since  
>> I didn't use it for SOPE. Correct?
>
> See above, if you want to use SOPE with OGo you need to build it  
> with gstep-make. The appropriate gstep-make is contained in the  
> SOPE sourcetree.
>
>> Now, the documentation also says I don't need most of the  
>> foundations since I am using the Cocoa versions. Is there a switch  
>> to indicate this somewhere or simply doing a ./configure after  
>> GNUStepMake is installed will be enough?
>
> This is explained here:
>   http://sope.opengroupware.org/en/build/thirdparty.html
>
> You need the apple-apple-apple combo and you need viable settings  
> for the GNUstep roots.
>
> After you installed gstep-make and sourced GNUstep.sh, run  
> configure in SOPE, then make -s install. Same for OGo.
>
> Greets,
>   Helge
> -- 
> http://docs.opengroupware.org/Members/helge/
> OpenGroupware.org
>
> -- 
> OpenGroupware.org MacOS X
> macosx@opengroupware.org
> http://mail.opengroupware.org/mailman/listinfo/macosx