The macosxhints Forums

The macosxhints Forums (http://hintsforums.macworld.com/index.php)
-   UNIX - General (http://hintsforums.macworld.com/forumdisplay.php?f=16)
-   -   installing gnome (http://hintsforums.macworld.com/showthread.php?t=2954)

sao 05-20-2002 04:46 AM

osxpez,

Thanks for your advice. Will tell BahamutX, to do it that way, then.


BahamutX,

If you want less to download with no compiling, follow osxpez advice.


you can also do it this way :

'sudo apt-get update'


and when finished run :

'sudo apt-get install gnome-bundle'


If you have any problems, let me know.


Cheers...

sao 05-20-2002 07:02 AM

I tried the 'other' package :

bundle-gnome---------1.4-3 ---------GNOME convenience package

with the fink install command.

Although, it installed some packages, it finally failed to install when compiling failed with the package rep-gtk-0.15-3

In file included from rep-types.c:24:
rep-gtk.h:28: rep.h: No such file or directory
make: *** [rep-types.lo] Error 1
### make failed, exit code 2
Failed: compiling rep-gtk-0.15-3 failed


But now my gnome installation, looks like this:

Code:

(i) control-center  1.4.0.4-3        GNOME Control Center
 i  control-center- 1.4.0.4-3          GNOME Control Center
 i  control-center- 1.4.0.4-3          GNOME Control Center 
 i  bonobo          1.0.19-2      Library for compound documents in GNOME
 i  bonobo-conf    0.14-2        Bonobo configuration moniker.
 i  bonobo-conf-dev 0.14-2      Bonobo configuration moniker.
 i  bonobo-conf-shl 0.14-2      Bonobo configuration moniker.
 i  bonobo-dev      1.0.19-2    Library for compound documents in GNOME
 i  bonobo-shlibs  1.0.19-2    Library for compound documents in GNOME
    bundle-gnome    1.4-3      GNOME convenience package
    fvwm2-no-gnome  2.4.7-1    X11 wind. man., large virtual desktop, v2, ...
 i  gnome-applets  1.4.0.5-2  Various applets for GNOME panel
    gnome-apt      0.3.15-2    Gnome frontend to debian apt-get
 i  gnome-audio    1.4.0-3    Audio files for Gnome.
(i) gnome-core      1.4.0.6-3  Common files for Gnome core apps.
 i  gnome-core-dev  1.4.0.6-3  Common files for Gnome core apps.
 i  gnome-core-shli 1.4.0.6-3  Common files for Gnome core apps.
 i  gnome-games    1.4.0.3-6  GNOME games collection.
 i  gnome-games-dev 1.4.0.3-6  GNOME games collection.
 i  gnome-games-shl 1.4.0.3-6  GNOME games collection.
(i) gnome-libs      1.4.1.4-3  Base libraries for GNOME
 i  gnome-libs-dev  1.4.1.4-3  Base libraries for GNOME
 i  gnome-libs-shli 1.4.1.4-3  Base libraries for GNOME
 i  gnome-mime-data 1.0.1-1    The GNOME MIME database
 i  gnome-pim      1.4.0-1    Calendar and address book for GNOME.
(i) gnome-print    0.35-3      Gnome Print - Printing libraries for GNOME.
 i  gnome-print-dev 0.35-3      Gnome Print - Printing libraries for GNOME.
 i  gnome-print-shl 0.35-3      Gnome Print - Printing libraries for GNOME.
 i  gnome-python    1.4.1-7    Python bindings for GNOME
 i  gnome-user-docs 1.4.1.1-2  General GNOME User Documentation
 i  gnome-utils    1.4.1.2-2  GNOME utility programs
 i  gnome-vfs      1.0.4-2    The GNOME virtual file-system libraries
    gnome-vfs-ssl  1.0.3-2    The GNOME virtual file-system libraries, wi...
 i  gnomeicu        0.98.1-1      Popular ICQ program
    gnomemm        1.2.2-3    C++ interface for the GNOME libraries
    gnomemm-shlibs  1.2.2-3    C++ interface for the GNOME libraries
    libunicode-gnom 0.4-1      Library for manipulating Unicode characters.
    multi-gnome-ter 1.3.8-1    terminal app which supports many terminals ...

And gnome-session runs fine as usuall.


osxpez,

I'm curious, can you run 'fink list gnome'

and post what you have installed (of course, check the other packages too, like bonobo, control-center).

Thanks.


Cheers...

WillyT 05-20-2002 10:40 AM

Sorry I'm late
 
BahamutX and sao

Couldn't stay online more than 10 min at a time yesterday.

Yes the "fink selfupdate -cvs" is critical for the new prdowndoads setup I think most of the packages are being updated.

Researching a problem I had, I found this is from the Gnome website FAQ

Q: In what order do I compile the Gnome packages?

A: This order has been reported to work well:

Compilation order for GNOME

1. Compile glib.
2. Compile gtk+.
3. Compile imlib.
4. Compile ORBit.
5. Compile audiofile.
6. Compile esound.
7. Compile libxml.
8. Compile gnome-libs.
9. Compile gdk-pixbuf.
10. Compile libghttp.
11. Compile libglade.
12. Compile libgtop.
13. Compile gnome-print.
14. Compile control-center.
15. Compile gnome-core.

After this, the order is less important. You should be able to compile the remaining GNOME applications in any order.


I really don't know if this is critical but fink probably forces this with the dependencies.

rusto

I'll try leaving out the wm in my .xinitrc I think you are right and gnome will start it for me.

BTW if you try to run something with the .xinitrc script and it fails XDarwin either won't start or it starts and dies. So double check spelling and quotes and make sure everything suspect is # comented out.

Willy

sao 05-20-2002 12:02 PM

WillyT,

If you install the fink package, deborphan 1.0-1 (Orphaned package finder), and you call it with:

--show-deps 'packagename'

it will show a list of dependencies for packages that have them. For example:


Code:

155 [Sao @/Users/pm] % deborphan --show-deps gnome-libs
gnome-libs
      mc
      libgtop
      libgtop-shlibs
      gnomeicu
      nethack
      glibwww
      oaf-shlibs
      oaf
      gnotepad+
      control-center
      gdk-pixbuf-shlibs
      gconf
      gnome-core-shlibs
      gnumeric
      control-center-shlibs
      gnome-core
      gimp-shlibs
      gconf-shlibs
      icewm
      gnome-pim
      bonobo-shlibs
      gnome-games-shlibs
      libglade


Code:

153 [Sao @/Users/pm] % deborphan --show-deps gnome-core
gnome-core
      gnomeicu
      gnome-applets
      gnome-utils
      xmms-bin
      gnome-pim
      xchat
      gnome-python


Code:

157 [Sao @/Users/pm] % deborphan --show-deps bonobo
bonobo
      gtkhtml
      bonobo-conf-shlibs
      gnumeric
      gtkhtml-shlibs
      evolution


Code:

158 [Sao @/Users/pm] % deborphan --show-deps control-center
control-center
      gtkhtml
      gnome-python
      gtkhtml-shlibs


Code:

159 [Sao @/Users/pm] % deborphan --show-deps gnome-print
gnome-print
      gtkhtml
      gal19
      gnumeric
      gal
      gtkhtml-shlibs
      bonobo-shlibs
      evolution


And so on. There are several other options, check the man pages.


Cheers...

bahamutX 05-21-2002 05:48 AM

I used the 'sudo apt-get install bundle-gnome' command and everything seems to be done properly - there were no errors....

so what next?


this are the packages installed...


i bundle-gnome 1.4-3 GNOME convenience package
fvwm2-no-gnome 2.4.6-2 X11 wind. man., large virtual desktop, v2, ...
i gnome-applets 1.4.0.5-2 Various applets for GNOME panel
i gnome-audio 1.4.0-3 Audio files for Gnome.
i gnome-core 1.4.0.6-3 Common files for Gnome core apps.
gnome-core-dev 1.4.0.6-3 Common files for Gnome core apps.
i gnome-core-shli 1.4.0.6-3 Common files for Gnome core apps.
(i) gnome-games 1.4.0.3-6 GNOME games collection.
gnome-games-dev 1.4.0.3-6 GNOME games collection.
gnome-games-shl 1.4.0.3-6 GNOME games collection.
i gnome-libs 1.4.1.4-3 Base libraries for GNOME
i gnome-libs-dev 1.4.1.4-3 Base libraries for GNOME
i gnome-libs-shli 1.4.1.4-3 Base libraries for GNOME
gnome-pim 1.4.0-1 Calendar and address book for GNOME.
i gnome-print 0.35-3 Gnome Print - Printing libraries for GNOME.
i gnome-print-dev 0.35-3 Gnome Print - Printing libraries for GNOME.
i gnome-print-shl 0.35-3 Gnome Print - Printing libraries for GNOME.
i gnome-user-docs 1.4.1.1-2 General GNOME User Documentation
i gnome-utils 1.4.1.2-2 GNOME utility programs
i gnome-vfs 1.0.3-2 The GNOME virtual file-system libraries
gnome-vfs-ssl 1.0.3-2 The GNOME virtual file-system libraries, wi...
gnomemm 1.2.2-3 C++ interface for the GNOME libraries
gnomemm-shlibs 1.2.2-3 C++ interface for the GNOME libraries

osxpez 05-21-2002 10:55 AM

Do you have a .xinitrc file? Does it mention gnome at all? Mine has the following lines in it:
Code:

WINDOW_MANAGER=sawfish
exec gnome-session


sao 05-21-2002 11:17 AM

bahamutX,

Let's follow up osxpez for now.

Remember the .xinitrc file you created before, when we tested the XFree86 installation ?


Ok, now type :

pico .xinitrc


when the file opens, delete the part that reads :

exec wmaker


and type insted what ospez says, that will make XFree start directly with gnome:


WINDOW_MANAGER=sawfish
exec gnome-session


Then, press Control o, then return and last press Control x.

Type exit at the prompt, close the terminal.


Now you can start an X session.

Test and tell me how it went.


Cheers...

bahamutX 05-21-2002 11:50 AM

I added the lines :
WINDOW_MANAGER=sawfish
exec gnome-session

and X works fine, still the same old greenish windows


BTW sao, how was the game you watched today?

osxpez 05-21-2002 12:52 PM

Greenish windows? Sawfish is rather themeable so you should be able to style the windows to your fancy. Enlightenment also works well with gnome. If it's just the terminal windows you want to jazz up I can recommend Eterm. One of the few terminal apps that are a bit fast under XonX:
Code:

sudo apt-get install eterm
Eterm is my terminal of choice even though I don't use gnome much. I like OroborOSX in rootless mode. I run Eterm from OroborOSX's start menu.

sao 05-21-2002 01:56 PM

bahamutX,


Yeah, Uruguay won 2-1. Yeahhhh! Urugauy!

But Singapore played great, they would have deserved to equalize in the second half. They really impressed me as a great young team.

Of course, 6 of the best uruguayan players stayed in Japan, so they didn't play with their best team.


Ok, I see your problem, then let's do it my way then.

But first let's thanks osxpez for all his help. Thanks, osxpez !


Let's install some more window managers, run :

fink install icewm

when it's finished, type rehash and then run :

fink install enlightenment

when finished, type rehash, and then run :

fink install blackbox-rootless

when finished type rehash, close terminal and come for more.

question:

How are you starting XFree86, from the XDarwin.app ?


Cheers...

bahamutX 05-21-2002 06:08 PM

yep, I starting XFree86 from XDarwin, and thank you for trying to help me osxperz

bahamutX 05-22-2002 05:49 AM

Back from school!

Ok sao, I installed everything but when i tried to install blackbox-rootless i get this erroe message:

[bahamut:~] root# fink install blackbox-rootless
Reading package info...
Information about 556 packages read in 4 seconds.
curl -f -L -s -S -O ftp://portal.alug.org/pub/blackbox/0...-0.61.1.tar.gz
curl: (10) the username and/or the password are incorrect
### curl failed, exit code 10
Downloading the file "blackbox-0.61.1.tar.gz" failed.

(1) Give up
(2) Retry

How do you want to proceed? [2]

sao 05-22-2002 09:03 AM

bahamutX,

Ok, let's forget about blackbox-rootless for the moment. We will come back later to that.

Please, run :

sudo fink list

and tell me which version of the following you have installed:

Code:

i  gtk+            1.2.10-10      The Gimp Toolkit
i  gtk+-data      1.2.10-10  The Gimp Toolkit
i  gtk+-shlibs    1.2.10-10  The Gimp Toolkit
i  gtk+extra      0.99.17-1  A useful set of widgets for creating GUI's ...
i  gtk-doc        0.9-1      GTK+ DocBook Documentation Generator
i  gtk-engines    0.12-1      Theme plugins for Gtk
i  gtkglarea      1.2.3-2    OpenGL widget for GTK+

Cheers...

bahamutX 05-22-2002 09:47 AM

I guess these are the ones installed


i gtk+ 1.2.10-10 The Gimp Toolkit
i gtk+-data 1.2.10-10 The Gimp Toolkit
i gtk+-shlibs 1.2.10-10 The Gimp Toolkit
gtk+extra 0.99.16-2 Useful set of widgets for creating GUI's us...
gtk-doc 0.9-1 GTK+ DocBook Documentation Generator
gtk-gnutella 0.85-3 Gtk+ based gnutella client
gtkglarea 1.2.3-2 OpenGL widget for GTK+
i gtkhtml 1.0.1-3 HTML rendering/printing/editing engine.
i gtkhtml-dev 1.0.1-3 HTML rendering/printing/editing engine.
i gtkhtml-shlibs 1.0.1-3 HTML rendering/printing/editing engine.
gtkmm 1.2.8-2 C++ interface for the gtk+ library
gtkmm-shlibs 1.2.8-2 C++ interface for the gtk+ library

sao 05-22-2002 11:30 AM

BahamutX,

Sorry, I had been busy till now with other things.

Ok, please install the following:

fink install gtkglarea

and

fink install gtk-engines

Then, just write at the end of your .xinitrc file only this :

exec gnome-session

(delete WINDOW_MANAGER=sawfish )

Start XDarwin full screen mode and tell me what you see.


Cheers...

WillyT 05-22-2002 11:49 AM

Panels?
 
BahamutX

Are you now seeing the Gnome panels? Did you get a splash screen while Gnome was loading? Did you install sawfish? Can you show us your present .xinitrc file?

It sounds from your description that you still have TWM running.

Willy

bahamutX 05-22-2002 12:01 PM

all right WillyT, this is my .xintic file...


#!/bin/sh
# $Xorg: xinitrc.cpp,v 1.3 2000/08/17 19:54:30 cpqbld Exp $

userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/usr/X11R6/lib/X11/xinit/.Xresources
sysmodmap=/usr/X11R6/lib/X11/xinit/.Xmodmap

# merge in defaults and keymaps

if [ -f $sysresources ]; then
xrdb -merge $sysresources
fi

if [ -f $sysmodmap ]; then
xmodmap $sysmodmap
fi

if [ -f $userresources ]; then
xrdb -merge $userresources
fi

if [ -f $usermodmap ]; then
xmodmap $usermodmap
fi

# start some nice programs

twm &
xclock -geometry 50x50-1+1 &
xterm -geometry 80x50+494+51 &
xterm -geometry 80x20+494-0 &
exec xterm -geometry 80x66+0+0 -name login
WINDOW_MANAGER=sawfish
exec gnome-session



And no, I'm not seeing the gnome panels or anything loading.....

sao 05-22-2002 12:19 PM

BahamutX,


For a beginner, you don't need all those things in the .xinitrc file.


Please, could you do a .xinitrc with this only, just for testing :

Code:

# Window Maker default X session startup script

PATH="$PATH:/sw/bin"

# If you login from xdm, uncomment this to make error messages appear
# in the console window.
#
# tail -f /Users/pm/.xsession-errors > /dev/console &
autocutsel &
exec gnome-session

Then we will go on from there.

Sorry, it's my mistake, when I told you to copy the xinitrc default file I should have told you to erase all and write it as above.
I wrongly figured you knew about it.


Cheers...

osxpez 05-22-2002 12:35 PM

Ah, now I understand where those greenish windows come from. =) Well it should be easy to get rid of them. Just delete the "twm &" row from your .xinitrc. Twm is a really basic window manager. Confusing too!

WillyT 05-22-2002 12:39 PM

BahamutX & sao

Yep it surely sounded like twm.

gnome-session will run WITHOUT a windowmanager and one can be selected from the menu Settings GNOME Control Center

Just click and release DON'T drag the menus.

This will actually be fun! Lots of GUI configuration stuff in here.

Willy

PS I will get some sleep now so I don't get grumpy.


All times are GMT -5. The time now is 06:19 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.