Ir al contenido principal

GNUstep ProjectCenter/Gorm/AClock running Ubuntu 10.04


Download sources GNUstep (stable or unstable) to compile;

Dependencies
First you need to check dependencies in ubuntu and install with sudo apt-get or search before with apt-cache command;
almost every package ends with *-dev in ubuntu repositories

this command will install all dependencies for compile:
~$sudo apt-get install libffi-dev libssl-dev libxml2-dev libxslt1-dev libcairo2-dev libxt-dev

GNUstep Make
compiling GNUstep make is our first target; it's the primary package to compile GNUstep applications.
get the package, untar and change into the folder and compile:

~$wget ftp://ftp.gnustep.org/pub/gnustep/core/gnustep-make-2.4.0.tar.gz
~$tar xzvf gnustep-make-2.4.0.tar.gz
~$cd gnustep-make-2.4.0/
~$./configure --prefix=/usr/local/GNUstep/ --enable-native-objc-exceptions
~$make
~$sudo make -E install

*NOTE: the options /usr/local/GNUstep/ is the folder where all the GNUstep is going to install. the second option --enable-native-objc-exceptions enable the @try, @catch, @throw, @finally in code.

GNUstep Environment Variables
in command shell execute the script

~$ . /usr/local/GNUstep/System/Library/Makefiles/GNUstep.sh

GNUstep Base
gnustep-base is the second package in order; return up one folder and get the package, untar and change into the folder and compile:

~$cd ..
~$wget ftp://ftp.gnustep.org/pub/gnustep/core/gnustep-base-1.21.1.tar.gz
~$tar xzvf gnustep-base-1.21.1.tar.gz
~$cd gnustep-base-1.21.1/
~$./configure --prefix=/usr/local/GNUstep/
~$make
~$sudo -E make install

*NOTE: the option -E in sudo command allow execute the command as super user but preserving the environmental variables of the user.GNUstep GUI

~$cd ..
~$wget ftp://ftp.gnustep.org/pub/gnustep/core/gnustep-gui-0.19.0.tar.gz
~$tar xzvf gnustep-gui-0.19.0.tar.gz
~$cd gnustep-gui-0.19.0/
~$./configure --prefix=/usr/local/GNUstep/
~$make
~$sudo -E make install

GNUstep Backend

~$
cd ..
~$wget ftp://ftp.gnustep.org/pub/gnustep/core/gnustep-back-0.19.0.tar.gz
~$tar xzvf gnustep-back-0.19.0.tar.gz
~$cd gnustep-back-0.19.0/
~$./configure --prefix=/usr/local/GNUstep/
~$make
~$sudo -E make install

Screenshots
Then compile ProjectCenter here the screenshot (make & make install)


I also compiled AClock and runs fine


for Gorm we apply the same steps run make inside the untarred folder
but for install try the following command:
~$sudo -E make install
then to run
~$openapp Gorm.app




if you receive a error message like this (running AClock.app)


~/prog/objc/aclock/aclock-0.3$ openapp ./AClock.app
2010-07-21 08:38:39.001 AClock[4142] Did not find correct version of backend (libgnustep-back-019-019.bundle), falling back to std (libgnustep-back-019.bundle).
2010-07-21 08:38:39.006 AClock[4142] NSApplication.m:304 Assertion failed in initialize_gnustep_backend. Unable to find backend libgnustep-back-019
/home/eduardo/prog/objc/aclock/aclock-0.3/AClock.app/AClock: Uncaught exception NSInternalInconsistencyException, reason: NSApplication.m:304 Assertion failed in initialize_gnustep_backend. Unable to find backend libgnustep-back-019


then you need to set the backend installed
in stable backend package (libart):~$defaults write NSGlobalDomain GSBackend libgnustep-back


in unstable backed package(cairo):
~$defaults write NSGlobalDomain GSBackend libgnustep-cairo

Comentarios

Unknown ha dicho que…
Hi , This is really helpful . I tried to follow the steps . I am getting this error .

2011-04-08 12:15:43.361 ProjectCenter[20689] Unknown time zone name `IST'.
2011-04-08 12:15:43.361 ProjectCenter[20689] Using time zone with absolute offset 0.
2011-04-08 12:15:43.361 ProjectCenter[20689] File NSUserDefaults.m: 685. In +[NSUserDefaults standardUserDefaults] Improper installation: No language locale found
2011-04-08 12:15:43.367 ProjectCenter[20689] Did not find correct version of backend, falling back to std.
2011-04-08 12:15:43.367 ProjectCenter[20689] NSApplication.m:286 Assertion failed in initialize_gnustep_backend. Unable to find backend back
Aborted
******************
Before this I am getting this error while executing GNUstep.sh

bash: ./GNUstep.sh: Permission denied

Cen you help me please

Entradas populares de este blog

Amazon EC2 - SharePoint 2010 Desarrollo

Estoy analizando si puedo montar mi propio SharePoint 2010 en Amazon EC2 aquí dos referencias valiosas para empezar: SharePoint 2010 Loggin Out of Control Para saber que opciones no habilitar y no generar mucho almacenamiento que mientras mayor mas te cobre AEC2. How to install SharePoint 2010 on ACE2 este link inclusive muestra los costos. Para tomar un curso en línea sería ideal, ya que contar con una computadora por ahora con esas características esta fuera de mi alcance por el momento. Aunque ya he visto varios blogs de gente que a montado sus ambientes de desarrollo en Windows 7 laptops con CoreDuo y 4 GB de memoria y esas configuraciones ya las puedes encontrar en las tiendas departamentales acá en Monterrey, N.L. Amazon EC2 Articles and Tutorials: Running SharePoint Services on AEC2 Amazon CE2 Pricing generalidades de sharepoint services en EC2. Doug Ware from Atlanta .NET User Group: Windows SharePoint Services on AEC2 Alternativas: The Rackspace Cloud : Windows Servers GoGrid