Hi Everyone,

I got bored waiting for GNUstep to be ported to FreeBSD, so I  
installed it from source on FreeBSD 7-CURRENT.  Anyone else wanting  
to play with Étoilé on FreeBSD should do the following:

- Do make depends for the GNUstep ports (gui, back, base).  This is a  
nice easy way of getting the dependencies all installed without  
thinking.

- Install the gnustep-make port.  This is version 2.0.1, which is the  
latest.  Having this installed from ports makes subsequent things  
much, much easier.

- Install GNUstep's version of libobjc (the one in the base system  
won't work).

- Install -base, -gui and -back as per the instructions on the  
GNUstep site.

Now GNUstep is installed, it will almost work.  NSProcessInfo, used  
by a lot of things, depends on procfs, which isn't mounted by  
default.  Add this to /etc/fstab:

proc                    /proc           procfs  rw               
0       0

Then do mount /proc as root.

On FreeBSD 7, the default threading library is libthr (1:1 threading  
model), which does not play nicely with libobjc.  The older  
libpthread (N:M), does.  You can use libpthread for everything by  
adding the following to  /etc/libmap.conf:

libthr.so.3             libpthread.so.2

It would be better to do this on a per-app basis, but I am lazy  
(actually, it would be better to fix libthr, but I am much too lazy  
to do that right now).

Once you've done this, you can just do a gmake install in the Étoilé  
root and it will more-or-less work (as long as you've installed the  
dependencies).  Hardware.app doesn't want to play, so comment it out  
in the parent directory's GNUmakefile.  Everything else will build in  
the latest trunk (I've committed a few fixes in the last couple of  
days).  At the moment, /stable probably won't, but I'll make sure we  
get the changes merged into /stable before 0.2

Have fun,

David

P.S. Please test Étoilé on your favourite platform; the more testing  
we do, the less work it is for packagers.
_______________________________________________
Etoile-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/etoile-discuss

Répondre à