The macosxhints Forums

The macosxhints Forums (http://hintsforums.macworld.com/index.php)
-   UNIX - General (http://hintsforums.macworld.com/forumdisplay.php?f=16)
-   -   Newbie Needs Help In XDarwin! (http://hintsforums.macworld.com/showthread.php?t=6826)

tsugaru 11-02-2002 05:59 PM

Newbie Needs Help In XDarwin!
 
Hello:

I was perusing the net and I wanted to try out XDarwin. I installed the most recent version on my machine, and it works fine.

I got OpenOffice running properly, but I need XRender. Where do I get that? Also, I'd like to be able to do some more stuff on it. I would like to get a Window Manager (I saw some funky themes on the XDarwin web page that I'd like to run on my computer), XMMS (MP3 player), and a web browser (as I can't find Mosaic, preferably Mozilla, or Chimera, or Netscape, or whatever I can). :confused:

Also, how would I go about getting to boot into XDarwin without having to go into Aqua? I assume performance would increase if I did that.

Please IM me at my ICQ 10258525 or MSN greasyobesity@hotmail.com

Sao, merv referred me to you, so if you got some free time, I would appreciate it if you could spare some time to help me out.


Tony

BraindeadMac 11-02-2002 07:26 PM

Re: Newbie Needs Help In XDarwin!
 
Quote:

Originally posted by tsugaru
Hello:

I was perusing the net and I wanted to try out XDarwin. I installed the most recent version on my machine, and it works fine.

I got OpenOffice running properly, but I need XRender. Where do I get that? Also, I'd like to be able to do some more stuff on it. I would like to get a Window Manager (I saw some funky themes on the XDarwin web page that I'd like to run on my computer), XMMS (MP3 player), and a web browser (as I can't find Mosaic, preferably Mozilla, or Chimera, or Netscape, or whatever I can). :confused:

Also, how would I go about getting to boot into XDarwin without having to go into Aqua? I assume performance would increase if I did that.

Please IM me at my ICQ 10258525 or MSN greasyobesity@hotmail.com

Sao, merv referred me to you, so if you got some free time, I would appreciate it if you could spare some time to help me out.


Tony
As far as needing "Xrender", you should already have it. Xrender is an Xft extension the purpose of which in XFree86 is to provide antialiased text and graphics objects rendering, amongst other things. It is automagically built/installed with XFree86, although I'm not sure how complete certain things are. For example, transparent windows don't seem to work in KDE. I guess qt might be the problem with KDE, but I just am not familar enough with the recent X11 and KDE builds.....

IMHO the best package manager for darwin right now is "fink", which you can get started with from fink.sourceforge.net. Follow the directions for installing on 10.2, not 10.1. Fink in turn will get you access to the cool window managers and open source unixware out there with a minimum of hassles. xmms and gimp are readily installed from fink.

KDE is the absolute best and coolest window manager for X11, but it has a lot of overhead. Follow the KDE instructions from fink.sourceforge.net to build KDE. Be warned--it takes a long time. Overnight build on my Dual 1.25 off a fast drive. About 2 days on my Ti PB G4. The current version (3.0.7/3.1b) in the fink/unstable cvs distribution and latest XFree86 4.2.1.1 build fine on my machine, although there have been massive troubles with some intermediate builds....

If you want to run Xdarwin from the console, just go to the login panel and put ">console", without the quotes, in the username. You will then go to a console-only window. then do
Code:

exec startx
And yes, performance is much better run from the console. KDE run without Aqua is incredibly smooth and responsive--seems much faster than Aqua, except some window redraws and stuff like dragging windows. A good lightweight window manager is blackbox, which can be installed from fink in a rootless mode. Afterstep is very cool looking too, especially if you've ever used a NeXT box. fvwm is also available from fink--not real fancy but has a good virtual desktop.

sao 11-03-2002 01:12 AM

tsugaru,

Please, I need more information:

What machine do you have?
Depending on what kind of computer you're running compiling from source Mozilla and Xmms could take well over a day.

Are you running MacOS X 10.2.1?

From where did you installed XDarwin and what version?

Which version of OpenOffice did you installed?
The OO beta installs a very out-of-date dlcompat. Fink version is at dlcompat-20020929-1. (there is no OO Fink package yet)


Cheers...

tsugaru 11-03-2002 09:17 PM

Info For Sao
 
Don't laugh, but I got an iMac 233 (Bondi Blue) with 320MB of RAM and a 60GB IBM Deskstar 120GXP and the other stock stuff.

I would just like to able to get more than just xterm and login and OpenOffice running on XDarwin.

What the heck is KDE? Fink sounds kind of hard to install (read: newbie). I went to the fink site and I just said forget it. I think I'd have to be in a drunken stupor in order to have the balls to do that.

And I just downloaded the OOO1.01beta off the site on Saturday morning.:D

sao 11-04-2002 03:20 AM

tsugaru,

Please, you didn't answer the following:

Are you running MacOS X 10.2.1?

From where did you installed XDarwin and what version?


I know you heard about Open Source, XFree86, Fink, XDarwin, X11 and you are Unix beginner. And you decided to give it a try and play with all these new things. Many things you don't understand...and you wish that the information available would be written simply and clearly.

What I learned is that it's not an easy subject, and that if you have no prior unix knowledge, it's even worse.

You need to study the "language" (binary package, source installation, etc., etc.) and a "basic" knowledge of working with the terminal.app before you can even begin to make your way through the process. You need to do your homework to help you understand what this is all about.

My recommendation would be to study before you start. So, at least you will have a grasp of what you do.

Quote:

tsugaru wrote:
What the heck is KDE?
KDE is a powerful graphical desktop environment for Unix workstations.

To work with X11, you have several options, you can install desktop environments like:

KDE, GNOME, Xfce, etc.

or install window managers like:

Quote:

Windowmaker
Enlightenment
Icewm
Afterstep
Blackbox
Fluxbox
Oroborus
TWM
Sawfish
Metacity
Fvwm
Ion
Pwm
Ratpoison
This site has a comprehensive list, check them out:

http://www.PLiG.org/xwinman/

and then, there is:

OroborOSX

which is an X11 environment, designed to be used in rootless mode with XDarwin and XFree86 on Mac OS X, and it's based on X11 window manager "oroborus" version 1.14.0.

Quote:

tsugaru wrote:
I went to the fink site and I just said forget it. I think I'd have to be in a drunken stupor in order to have the balls to do that.
I looks more difficult than it is. But, if you feel you can't do it, I will then suggest you to wait for the Fink-0.5.0 release (hopefully very soon) and then you will be able to install from binary packages.


Cheers...

tsugaru 11-04-2002 03:44 PM

Follow Up For Sao
 
Hey Sao:

I have 10.2.1 Build 6D52.

I got XDarwin from xdarwin.org
Installed the 4.20 installer for 10.1x, then installed the Jaguar patch, then installed the 4.21 patch.

sao 11-05-2002 03:07 AM

tsugaru,

Thanks for the info.

Look, I like to work with Fink to install things. And up to now I've installed over 700 packages without problem.

Also, if you work with Fink I recommend to install XFree86 by installing the packages 'xfree86-base' or 'xfree86-rootless'.

If you decide to install Fink, let me know and I will help.

If you look for alternatives to Fink, do a 'google' search and you will find several available.

Good luck.


Cheers...

baryonyx 11-05-2002 11:18 AM

tsugaro,

Fink is NOT hard to install at all. I did it just yesterday and although it wasn't completely flawless, if you have the patience to read the instructions and follow them, you should be able to install Fink fairly painlessly.

Or let me put it this way: installing XFree86 and a window manager is MUCH harder than installing Fink--unles of course you do it FROM Fink.

Fortunately for people like you and me, Rob Griffiths--the dude running this place--wrote an excellent primer on how to get it all working. The only caveat is that it's slightly out of date: the warning that you shouldn't install XFree86 from Fink is no longer valid. Also, there is no need to install the "rootless" patch if you're doing it from Fink, since it seems to get installed automatically in the "base" installation now.

Put aside your trepidation and try it out. The beautiful thing about Fink is that it installs iitself in its own directory and is unlikely to mess your system up. If you decide you don't like it, you can just delete the /sw directory. Easy!

Andy

tsugaru 11-05-2002 04:02 PM

FINK
 
I guess now I'll install fink, since everyone else is raving about it. Guess if I got Jaguar, which version do I download and install?

sao 11-05-2002 06:29 PM

tsugaru,

Before you begin, have you installed the July (Jaguar) Developer Tools and the August update?

If not, installed them first.

Then, follow the instructions "Bootstrapping Fink under Mac OS X 10.2" here:

http://fink.sourceforge.net/news/jag-bootstrap.php

There are 6 steps to complete the installation.

Read everything several times, take your time, do it slowly.

If you don't understand something, ask for help here first, before you do.

Good luck and let us know.


Cheers...

tsugaru 11-05-2002 11:52 PM

Jaguar Dev Tools
 
Is it ok if I install the October update? I assume yes...?

sao 11-06-2002 12:03 AM

tsugaru,

If you have the July Tools and the August update installed, it's ok to install the October update.


Cheers...

mcolman 11-06-2002 12:36 AM

I'm having some problems with fink and compiling in general.
I have mac os x 10.2.1 installed, and xfree86 4.2.1. I think I followed the 'bootstrapping fink' instructions correctly, but a lot of stuff doesn't complile, or gets lots of errors when running it. octave compiled but doesn't work very well, and gnome won't compile at all (I need gnome so I can install ximian evolution).
I have the developer tools from July and installed the august update.
If I want to install software which isn't available through fink using dselect, do I need a different compiler?
I have a 350 mHz B/W g3. It doesn't matter to me if stuff takes a week to compile, as long as it works afterwards. I have plenty of disk space too.
I have gimp, abiword, and blackbox working, but I'd like to be able to install stuff like xine and evolution.

sao 11-06-2002 01:34 AM

mcolman,

Please, more info:

fink -V

When you installed Fink from scratch, did you:

add the "unstable" trees to the Trees line of your fink.conf file ?

and ran fink selfupdate-cvs ?

Please, when having problems with compiling an specific package, it's useful you post the package-name, version, and the last 15 lines of the compiling log, then I might be able to help.


Cheers...

mcolman 11-06-2002 02:33 AM

Package manager version: 0.11.0
Distribution version: 0.4.1.cvs
I ran fink selfupdate-cvs
and yes, my Tree includes unstable and unstable-crypto
I am trying to update gnome now. when/if that fails, I will post the error messages.

mcolman 11-06-2002 08:59 AM

well, fink update-all failed. here's what it said:
making Bounds.d from Bounds.cc
c++ -c -no-cpp-precomp -I/sw/include -I. -I.. -I../liboctave -I../src -I../libcruft/misc -I../glob -I../glob -DHAVE_CONFIG_H -g -O2 -Wall Bounds.cc -o Bounds.o
c++ -c -no-cpp-precomp -I/sw/include -I. -I.. -I../liboctave -I../src -I../libcruft/misc -I../glob -I../glob -DHAVE_CONFIG_H -g -O2 -Wall CollocWt.cc -o CollocWt.o
c++ -c -no-cpp-precomp -I/sw/include -I. -I.. -I../liboctave -I../src -I../libcruft/misc -I../glob -I../glob -DHAVE_CONFIG_H -g -O2 -Wall DAE.cc -o DAE.o
DAE.h: In function `void __static_initialization_and_destruction_0(int, int)':
DAE.h:35: no matching function for call to `std::type_info::type_info()'
/usr/include/gcc/darwin/3.1/g++-v3/typeinfo:78: candidates are:
std::type_info::type_info(const char*)
/usr/include/gcc/darwin/3.1/g++-v3/typeinfo:72:
std::type_info::type_info(const std::type_info&)
make[2]: *** [DAE.o] Error 1
make[1]: *** [liboctave] Error 2
make: *** [all] Error 2
### execution of make failed, exit code 2
Failed: compiling octave-2.1.35-8 failed
[KILOMETERS:~] mcolman%

sao 11-06-2002 09:54 AM

mcolman,

Please could you post the result of:

'fink list --installed'

Cheers...

sao 11-06-2002 11:45 AM

mcolman,

I just finished compiling octave-2.1.35-10, and there where no problems.

Here is what I get at the same point as yours:

making Bounds.d from Bounds.cc
g++2 -c -no-cpp-precomp -I/sw/include -I. -I.. -I../liboctave -I../src -I../libcruft/misc -I../glob -I../glob -DHAVE_CONFIG_H -fno-coalesce-templates -fno-implicit-templates -g -O2 -Wall Bounds.cc -o Bounds.o
g++2 -c -no-cpp-precomp -I/sw/include -I. -I.. -I../liboctave -I../src -I../libcruft/misc -I../glob -I../glob -DHAVE_CONFIG_H -fno-coalesce-templates -fno-implicit-templates -g -O2 -Wall CollocWt.cc -o CollocWt.o
g++2 -c -no-cpp-precomp -I/sw/include -I. -I.. -I../liboctave -I../src -I../libcruft/misc -I../glob -I../glob -DHAVE_CONFIG_H -fno-coalesce-templates -fno-implicit-templates -g -O2 -Wall DAE.cc -o DAE.o
g++2 -c -no-cpp-precomp -I/sw/include -I. -I.. -I../liboctave -I../src -I../libcruft/misc -I../glob -I../glob -DHAVE_CONFIG_H -fno-coalesce-templates -fno-implicit-templates -g -O2 -Wall DASSL.cc -o DASSL.o
g++2 -c -no-cpp-precomp -I/sw/include -I. -I.. -I../liboctave -I../src -I../libcruft/misc -I../glob -I../glob -DHAVE_CONFIG_H -fno-coalesce-templates -fno-implicit-templates -g -O2 -Wall FEGrid.cc -o FEGrid.o
g++2 -c -no-cpp-precomp -I/sw/include -I. -I.. -I../liboctave -I../src -I../libcruft/misc -I../glob -I../glob -DHAVE_CONFIG_H -fno-coalesce-templates -fno-implicit-templates -g -O2 -Wall LinConst.cc -o LinConst.o
g++2 -c -no-cpp-precomp -I/sw/include -I. -I.. -I../liboctave -I../src -I../libcruft/misc -I../glob -I../glob -DHAVE_CONFIG_H -fno-coalesce-templates -fno-implicit-templates -g -O2 -Wall LPsolve.cc -o LPsolve.o
-------------------
midddle part not included
-------------------
Writing control file...
dpkg-deb -b root-octave-2.1.35-10 /sw/fink/dists/unstable/main/binary-darwin-powerpc/sci
dpkg-deb: building package `octave' in `/sw/fink/dists/unstable/main/binary-darwin-powerpc/sci/octave_2.1.35-10_darwin-powerpc.deb'.
ln -sf /sw/fink/dists/unstable/main/binary-darwin-powerpc/sci/octave_2.1.35-10_darwin-powerpc.deb /sw/fink/debs/
rm -rf /sw/src/root-octave-2.1.35-10
dpkg -i /sw/fink/dists/unstable/main/binary-darwin-powerpc/sci/octave_2.1.35-10_darwin-powerpc.deb
Selecting previously deselected package octave.
(Reading database ... 107543 files and directories currently installed.)
Unpacking octave (from .../octave_2.1.35-10_darwin-powerpc.deb) ...
Setting up octave (2.1.35-10) ...

Do you have ccache installed, if yes, please run:

'fink remove ccache'

and then try updating octave again:

'fink update octave'

and let me know how that goes.


Cheers...

mcolman 11-06-2002 11:47 AM

'fink list --installed' results in:


i aalib 1.4rc5-1 Ascii art library
i aalib-bin 1.4rc5-1 Ascii art library
i aalib-shlibs 1.4rc5-1 Ascii art library
i apt 0.5.4-4 Advanced front-end for dpkg
i apt-shlibs 0.5.4-4 Advanced front-end for dpkg
i aquaterm 0.3.0a-5 Displays vector graphics in Aqua.
i audiofile 0.2.3-4 Audio File Library
i audiofile-bin 0.2.3-4 Audio File Library
i audiofile-shlib 0.2.3-4 Audio File Library
i autoconf25 2.54-1 System for generating configure scripts
i automake 1.6.3-1 Makefile generator
i base-files 1.6-1 Directory infrastructure
i blackbox-rootle 0.62.1-1 Alternate Window Manager, works in XDarwi...
i bzip2 1.0.2-1 Block-sorting file compressor
i darwin 6.1-1 [virtual package representing the kernel]
i db3 3.3.11-7 Berkeley DB embedded database
i db3-shlibs 3.3.11-7 Shared Libraries for db3
i db31 3.1.17-4 Berkeley DB embedded database
i debianutils 1.16-1 Misc. utilities specific to Debian (and F...
i dlcompat 20020709-2 Dynamic loading compatibility library
i docbook-dsssl-n 1.77-1 Norman Walsh's DSSSL DocBook stylesheets.
i docbook-dtd 4.1.2-3 DocBook SGML/XML DTDs official releases
i dpkg 1.9.20-3 The Debian package manager
i esound 0.2.28-1 Enlightened Sound Daemon
i esound-bin 0.2.28-1 Enlightened Sound Daemon
i esound-common 0.2.28-1 Enlightened Sound Daemon
i esound-shlibs 0.2.28-1 Enlightened Sound Daemon
i expat 1.95.4-2 C library for parsing XML
i expat-shlibs 1.95.4-2 C library for parsing XML
i f2c 20020123-2 Convert Fortran 77 source to C source.
i fftw 2.1.3-10 Library for computing the Discrete Fourie...
i fftw-shlibs 2.1.3-10 Library for computing the Discrete Fourie...
i fink 0.11.0-1 The Fink package manager
i fort77 1.18-3 Perl script to invoke f2c Fortran transla...
i freetype2 2.0.8-4 TrueType font rendering library, version 2
i freetype2-shlib 2.0.8-4 TrueType font rendering library, version ...
i gdbm 1.8.0-6 GNU dbm library
i gdbm-shlibs 1.8.0-6 GNU dbm library
i gdk-pixbuf 0.18.0-1 Image loading and manipulation library
i gdk-pixbuf-shli 0.18.0-1 Image loading and manipulation library
i gettext 0.10.40-3 Message localization support
i ghostscript 7.04-1 Interpreter for PostScript and PDF.
i ghostscript-fon 6.0-3 Standard fonts for Ghostscript
i giflib 4.1.0-7 GIF image format handling library, LZW-en...
i giflib-bin 4.1.0-7 GIF image format handling library, LZW-en...
i giflib-shlibs 4.1.0-7 GIF image format handling library, LZW-en...
i gimp 1.2.3-9 The GNU Image Manipulation Program
i gimp-shlibs 1.2.3-9 The GNU Image Manipulation Program
i glib 1.2.10-8 Common C routines used by Gtk+ and other ...
i glib-shlibs 1.2.10-8 Common C routines used by Gtk+ and other ...
i gmp 4.1-3 GNU multiple precision arithmetic library
i gmp-shlibs 4.1-3 GNU multiple precision arithmetic library
i gnome-audio 1.4.0-3 Audio files for Gnome.
i gnome-games 1.4.0.4-2 GNOME games collection.
i gnome-games-dev 1.4.0.4-2 GNOME games collection.
i gnome-games-shl 1.4.0.4-2 GNOME games collection.
i gnome-libs 1.4.2-1 Base libraries for GNOME
i gnome-libs-dev 1.4.2-1 Base libraries for GNOME
i gnome-libs-shli 1.4.2-1 Base libraries for GNOME
i gnome-mime-data 2.0.1-2 The GNOME MIME database
i gnome-user-docs 1.4.1.1-2 General GNOME User Documentation
i gnuplot 3.8h.0-7 Command-driven interactive plotting program.
i gtk+ 1.2.10-12 The Gimp Toolkit
i gtk+-data 1.2.10-12 The Gimp Toolkit
i gtk+-shlibs 1.2.10-12 The Gimp Toolkit
i gtk-doc 0.9-4 GTK+ DocBook Documentation Generator
i guile 1.4-4 Embedable Scheme interpreter
i guile-dev 1.4-4 Embedable Scheme interpreter
i guile-shlibs 1.4-4 Embedable Scheme interpreter
i gzip 1.2.4a-6 The gzip file compressor
i hdf 4.1r4-2 Scientific data format.
i hdf5 1.4.3-1 Library and file format for scientific data.
i hdf5-bin 1.4.3-1 Library and file format for scientific data.
i hdf5-shlibs 1.4.3-1 Library and file format for scientific data.
i imagemagick 5.4.5-1 Image manipulation tools
i imlib 1.9.10-9 General image handling library for X11 an...
i imlib-shlibs 1.9.10-9 General image handling library for X11 an...
i intltool 0.22-1 Internationalize various kinds of data files
i libghttp 1.0.9-4 HTTP protocol client library
i libghttp-shlibs 1.0.9-4 HTTP protocol client library
i libglade 0.17-3 Library to load .glade files at runtime
i libglade-shlibs 0.17-3 Library to load .glade files at runtime
i libgtop 1.0.13-8 System monitoring library
i libgtop-dev 1.0.13-8 System monitoring library
i libgtop-shlibs 1.0.13-8 System monitoring library
i libiconv 1.7-5 Character set conversion library
i libjpeg 6b-5 JPEG image format handling library
i libjpeg-bin 6b-5 JPEG image format handling library
i libjpeg-shlibs 6b-5 JPEG image format handling library
i libmpeg 1.3.1-6 Gimp MPEG library
i libmpeg-shlibs 1.3.1-6 Gimp MPEG library
i libpng 1.0.12-6 PNG image format handling library
i libpng-shlibs 1.0.12-6 PNG image format handling library
i libtiff 3.5.7-7 TIFF image format library and tools
i libtiff-bin 3.5.7-7 TIFF image format library and tools
i libtiff-shlibs 3.5.7-7 TIFF image format library and tools
i libwww-bin 5.3.2-4 General-purpose Web API written in C for ...
i libwww-shlibs 5.3.2-4 General-purpose Web API written in C for ...
i libxml 1.8.17-2 XML parsing library
i libxml-shlibs 1.8.17-2 XML parsing library
i libxml2 2.4.23-1 XML parsing library, version 2
i libxml2-bin 2.4.23-1 XML parsing library, version 2
i libxml2-shlibs 2.4.23-1 XML parsing library, version 2
i m4 1.4-6 Advanced macro processing language
i macosx 10.2.1-1 [virtual package representing the system]
i ncurses 5.2-7 Full-screen ascii drawing library
i netcdf 3.5.0-5 Interface and library for array-oriented ...
i netpbm 9.25-1 Graphics manipulation programs and libraries
i netpbm-bin 9.25-1 Graphics manipulation programs and libraries
i netpbm-shlibs 9.25-1 Graphics manipulation programs and libraries
(i) octave 2.1.35-8 Matlab-like language for computations.
i openjade 1.3.1-2 Implementation of DSSSL
i openssl-shlibs 0.9.6g-1 Secure Sockets Layer and general crypto l...
i orbit 0.5.17-2 The CORBA ORB used in GNOME
i orbit-bin 0.5.17-2 The CORBA ORB used in GNOME
i orbit-shlibs 0.5.17-2 The CORBA ORB used in GNOME
i passwd 20020329-1 User and group entries for daemons
i pkgconfig 0.12.0-1 System for managing library compile/link ...
i popt-shlibs 1.6.4-1 Library for parsing command line options
i readline 4.3-4 Comfortable terminal input library
i readline-shlibs 4.3-4 Comfortable terminal input library
i scrollkeeper 0.2-7 Cataloging system for documentation on op...
i sgml-entities-i 1986-3 SGML standard (ISO 8879) entity sets for ...
i slang-shlibs 1.4.5-3 Embedable extension language and console ...
i storable-pm 1.0.14-1 Perl module for persistent data structures
i tar 1.13.25-1 GNU tar - tape archiver
i tcltk-dev 8.3.4-1 Tool Command Language and the Tk toolkit.
i tcltk-shlibs 8.3.4-1 Tool Command Language and the Tk toolkit.
i texinfo 4.1-2 Texinfo documentation system
i type1inst 0.6.1-3 Type 1 PostScript font installation utility
i xfree86-base 4.2.0.1-1 XFree86 libraries, utilities, clients and...
i xfree86-rootles 4.2.0.1-1 XFree86 libraries, utilities, clients and...
i zlib 1.1.4-1 Compression library
[KILOMETERS:~] mcolman%

sao 11-06-2002 01:53 PM

mcolman,

Your instalation of fink is not properly upgraded for 10.2 - you shouldn't be
getting the octave-2.1.35-8 package, only octave-2.1.35-10 will work on
10.2.

Please check again the instructions on how to upgrade Fink for MacOS X 10.2 from here:

http://fink.sourceforge.net/news/jaguar.php


Cheers...

mcolman 11-06-2002 03:21 PM

ok. I'm reinstalling os X now because of an unrelated issue, but I'll reread the fink installation instructions next time.

tsugaru 11-06-2002 10:41 PM

Dude, how's my FINK??!
 
Hey:

I did the fink thing from scratch after I patched and updated the Jaguar Dev Tools. I ran the fink installer from ./bootstrap.sh. It downloaded the files from all the mirrors successfully.

Ok it installed correctly. I edited my .cshrc and all that. Ran fink update and fink -update all. I guess I have fink installed properly (woo hoo!!!)

I did some fooling around with fink and went 'fink install gtetrinet'. Where do I go now to play it? Is fink basically a package listing and if you want to install anything (say GIMP), you just go 'fink install gimp'? When I install a package, am I to do it from the Terminal (Aqua) or XDarwin (xTerm)?

How do I run gtetrinet from XDarwin? How do I boot into XDarwin straight from power on instead of going through Aqua (hate Quartz on my machine).

sao 11-07-2002 01:04 AM

tsugaru,

Congratulations!

Well done. It was not so difficult, eh?

Quote:

tsugaru wrote:
Ran fink update and fink -update all
Did you just made at the end 'fink update' or 'fink selfupdate-cvs?

Unfortunately, some days ago they posted the following at gtetrinet web page:

<<October 27, 2002
GTetrinet 0.4.4 has been released, and you should upgrade RIGHT AWAY. Steve Kemp and James Antill discovered 'several grave security problems' in previous versions of GTetrinet, which are remotely exploitable if you connected to a malicious tetrinet server. The new version hopefully fixes all of these buffer overflows, so it's the only recommended version right now.>>

http://gtetrinet.sourceforge.net/

I wrote to Ben Hines, the Fink 'gtetrinet' package maintainer, and he already wrote back to say he will update it. (Thanks, Ben!)


About how to play gtetrinet, check the following page:

http://gtetrinet.sourceforge.net/tetrinet.txt

Code:

It has info about:
Concept          - Game explanation
Inventory        - Explanation of inventory feature (READ!!)
Win list        - How the game keeps score
Partyline        - Explanation and features
Moderators      - What moderators are for
Server          - What is and how to set up a SERVER
Client          - What a client is
Teams            - Explanation of teams
Modifying        - How to modify TetriNET
Acknowledgements - People who helped alot in the making of TetriNET
VERSIONS        - Whats been changed throughout the versions


Cheers...

PS: 'gtetrinet' is already updated. The Fink package maintainers are fast!

tsugaru 11-07-2002 01:12 AM

Yo Sao
 
I ran fink selfupdate-cvs

I asked merv this. Maybe you can clarify. Can I run Xdarwin straight from the console or apple-s at bootup (single user) or do i hav eto go into aqua and do it?

You got icq or aim or yahoo? i hate mailing in these forums.

sao 11-07-2002 01:32 AM

tsugaru,

I haven't logged in through >console in a while. But the following two different options have always worked for me:

When you start your Mac (or when you log-out), at the login window, type (instead of the user name):

>console

Then,

1) Start an X11 session through the console with:

the "startx" command.

Then, when you quit and get the blank background and the spinning wheel, type "logout" and a return (even though there looks like there's nothing to type in). It appears that you are still logged into the console, it is just not showing it. I believe "exit" works, also. This'll send you back to the login window.

2) Instead of starting X11 with "startx", start it with:

"exec startx"

Then, when you quit X11, it should go back to the login window.


Cheers...

tsugaru 11-07-2002 01:37 AM

StartX?
 
startx... hmmm...

What do you need installed to run that? Or do I have everything I need installed already?

sao 11-07-2002 01:57 AM

Quote:

tsugaru wrote:
Is fink basically a package listing and if you want to install anything (say GIMP), you just go 'fink install gimp'?
To install the software Fink uses package managment tools ported over from Linux:

apt-get, dselect, dpkg

and it's own tool named ...'fink'

Apt-get and dselect only know about binary packages. When you install a binary package what you get is a ready to run program, saving you the time for compiling. Soon, when they release Fink 0.5.0, some binary packages will be available again, for installing in 10.2.

But, right now, there is no precompiled binary packages available for 10.2.

So, at the moment you're installing 'only' from source with the 'fink' tool. Like you said, by running 'fink install packagename'.

You can run:

'sudo fink list' to get a list of packages you can install.

Run 'fink list --help' to get the options listed. Try the different options.

Then, choose the package you want to install and run, for example:

'fink install gimp'

And Fink will do the rest.


Cheers...

PS: I prefer to post at the forums, not to use ICQ, so other people can read the posts too.

tsugaru 11-07-2002 02:04 AM

Hey Sao:

Yeah that's true about the ICQ thing. Dagnabbit I've been compiling gtetrinet for over an hour now. Geez, and that's a SMALL program. Wonder how long GIMP will take...

Anyways, once I get gtetrinet compiled, how do I go about running it? Just go to the CLI and go 'gtetrinet'? :confused:

sao 11-07-2002 02:11 AM

tsugaru,

You already have everything you need to type startx at the login window.

But, I would install before some window managers, as I don't like the default very much.

The classic ones to install would be 'windowmaker' or 'blackbox', or 'icewm'. It's up to you...

Also, after installing the window managers, you need to write a ~/.xinitrc file.

The .xinitrc file is a shell script that runs when you start the X11 system (or when it automatically starts for you). This file contains the commands to define which applications are started when your X11 system boots up.

It contain for example, the commands to start the window manager, some xterms or a desktop environment (like GNOME or KDE), along with various command line options to control their behavior or appearance, such as setting sizes, background colors, fonts, etc.

Fast way is to write a .xinitrc file with the editor pico in your 'home' directory. And make it very simple at the beginning, like:

Code:

source /sw/bin/init.sh

exec wmaker

This will be enough to start 'windowmaker' window manager in X11.


Cheers...

PS: After you did this, then you can run 'startx' from console.

sao 11-07-2002 02:34 AM

Quote:

tsugaru wrote:
Dagnabbit I've been compiling gtetrinet for over an hour now
Strange, it should compile only in a few minutes. Probably you need more ram?

If you are running X11, then type in xterm:

'gtetrinet &'

and it will open the application.

Also, you probably know that there are basically two ways to start XFree86 under Mac OS X:

1-XDarwin.app
Double-clicking the XDarwin.app in your Applications folder.

Then, a dialog will appear where you can choose between full screen and rootless mode. In XDarwin Preferences, you can set XDarwin to always use the mode of your choice and disable the startup dialog.

2-Terminal.app
From the terminal.app you can type either:

startx -- -fullscreen
or
startx -- -rootless

To enable entering XWindows commands in the Terminal.app "when XWindows is running" write at the beginning of your ~/.cshrc file:

setenv DISPLAY :0.0

So, if you type 'gimp' in Terminal.app the corresponding X11 binary will open in XWindows.

You could set the XDarwin.app to start up when you login in the Login Panel of the System Preferences and then add to your ~/.cshrc file:

if (! $?DISPLAY) then
setenv DISPLAY :0.0
endif

This will set DISPLAY automatically in every shell. It doesn't override the current value when DISPLAY is already set, though. This way you can still run X11 applications remotely or through ssh with X11 tunneling.

Cheers...

PS: I think for the moment, you should digest all this, and we continue later.

sao 11-07-2002 09:46 AM

tsugaru,

I remember that you have installed XFree86 (from XDarwin.org).

I would recommend you delete it and install it again with Fink.

But, if you want to keep it, it's very important that you install with Fink the package 'system-xfree86' (It's just a placeholder package) in order that Fink recognize your XFree86 installation.

Let me know.


Cheers...

tsugaru 11-07-2002 03:46 PM

Sao:

You're telling me I gotta delete fink?

I don't know why gtetrinet took so long to install. I think some other stuff got installed too cuz it installed like X11. It took over 4 hours. I left the machine on compiling.

In order to delete fink, do I just delete the sw directory? Or do I gotta do more stuff?

BraindeadMac 11-07-2002 04:29 PM

Quote:

Originally posted by tsugaru
Sao:

You're telling me I gotta delete fink?

I don't know why gtetrinet took so long to install. I think some other stuff got installed too cuz it installed like X11. It took over 4 hours. I left the machine on compiling.

In order to delete fink, do I just delete the sw directory? Or do I gotta do more stuff?
tsugaru

Whoa...I think sao was saying to delete X11, not all of fink. To delete X11 delete /usr/X11R6 and /etc/X11.

Did gtetrinet install anything additional (like gnome)---like the files it depends on, e.g., gnome-libs and orbit-shlibs? That would account for the massive build time....Also, fink should have asked you to resolve the xfree86 dependency by selecting system-xfree86 or xfree86-base or xfree86-rootless. How did you answer that question from fink?

The current patch level of X11 under fink and from the XonX source (4.2.1.1) is pretty darned similar from what I've been able to find. X11 builds in about 30 minutes on a Dual 1.25, but takes several hours on 500ish MHz machines, and that's with plenty of RAM.

tsugaru 11-07-2002 05:41 PM

Sao and BrainDeadMac...
 
What is wrong? I guess gtetrinet isn't the only thing compiling.

It takes THAT long on a dual 1.25? Geez. I have an iMac 233 w/ 320MB of RAM. I bet this'll take near a week.

When I go to install gtetrinet, I get this...

Code:

[glorfindel:~] avu% fink install gtetrinet
sudo /sw/bin/fink  install gtetrinet
Information about 1728 packages read in 3 seconds.


fink needs help picking an alternative to satisfy a virtual dependency. The
candidates:

(1)  xfree86-base: XFree86 libraries, utilities, clients and data
(2)  system-xfree86: Placeholder package for manually installed XFree86
(3)  xfree86-base-threaded: XFree86 libraries, utilities, clients and data

Pick one: [1] 2

fink needs help picking an alternative to satisfy a virtual dependency. The
candidates:

(1)  giflib: GIF image format handling library, LZW-enabled version
(2)  libungif: GIF image format handling library, LZW-free version

Pick one: [1] 1

fink needs help picking an alternative to satisfy a virtual dependency. The
candidates:

(1)  giflib-bin: GIF image format handling library, LZW-enabled version
(2)  libungif-bin: GIF image format handling library, LZW-free version

Pick one: [1] 1

fink needs help picking an alternative to satisfy a virtual dependency. The
candidates:

(1)  giflib-shlibs: GIF image format handling library, LZW-enabled version
(2)  libungif-shlibs: GIF image format handling library, LZW-free version

Pick one: [1] 1
The following package will be installed or updated:
 gtetrinet
The following 46 additional packages will be installed:
 audiofile audiofile-bin audiofile-shlibs autoconf25 automake db3 db3-shlibs
 dlcompat docbook-dsssl-nwalsh docbook-dtd esound esound-bin esound-common
 esound-shlibs giflib giflib-bin giflib-shlibs glib glib-shlibs
 gnome-libs-dev gnome-libs-shlibs gtk+ gtk+-data gtk+-shlibs gtk-doc imlib
 imlib-shlibs libjpeg libjpeg-bin libjpeg-shlibs libpng libpng-shlibs libtiff
 libtiff-bin libtiff-shlibs m4 netpbm netpbm-bin netpbm-shlibs openjade orbit
 orbit-bin orbit-shlibs passwd sgml-entities-iso8879 system-xfree86
Do you want to continue? [Y/n]

What am I supposed to do? I deleted fink by going sudo rm -rf /sw like it said on the fink FAQ page. How can I make Darwin look better than that green kvm thing? How do I install a window manager? Why do I need GNOME anyways?

I'm getting very peeved at this... eugh...

BraindeadMac 11-07-2002 07:11 PM

Re: Sao and BrainDeadMac...
 
Quote:

Originally posted by tsugaru
What is wrong? I guess gtetrinet isn't the only thing compiling.

It takes THAT long on a dual 1.25? Geez. I have an iMac 233 w/ 320MB of RAM. I bet this'll take near a week.

When I go to install gtetrinet, I get this...

[all this stuff snipped]
Pick one: [1] 1
The following package will be installed or updated:
gtetrinet
The following 46 additional packages will be installed:
audiofile audiofile-bin audiofile-shlibs autoconf25 automake db3 db3-shlibs
dlcompat docbook-dsssl-nwalsh docbook-dtd esound esound-bin esound-common
esound-shlibs giflib giflib-bin giflib-shlibs glib glib-shlibs
gnome-libs-dev gnome-libs-shlibs gtk+ gtk+-data gtk+-shlibs gtk-doc imlib
imlib-shlibs libjpeg libjpeg-bin libjpeg-shlibs libpng libpng-shlibs libtiff
libtiff-bin libtiff-shlibs m4 netpbm netpbm-bin netpbm-shlibs openjade orbit
orbit-bin orbit-shlibs passwd sgml-entities-iso8879 system-xfree86
Do you want to continue? [Y/n] [/CODE]

What am I supposed to do? I deleted fink by going sudo rm -rf /sw like it said on the fink FAQ page. How can I make Darwin look better than that green kvm thing? How do I install a window manager? Why do I need GNOME anyways?

I'm getting very peeved at this... eugh...
you deleted fink? D'oh! The reason it was taking gtetrinet so long to compile was the 46 additional packages above. That looks like an overnight or 24 hour compile job on a 233 MHz imac....

if you have a broadband connection I can set it up so you can download a disk image with /sw on it....

-braindead

tsugaru 11-07-2002 08:02 PM

Braindead
 
Hey:

I reinstalled fink by going >console, then startx. Took an hour to reinstall fink.

So now that I reinstalled fink, I tried to reinstall the gtetrinet program. Yet it still asks for the 46 packages. I thought that they were pre-installed with Jaguar and/or fink.

Anyways, I am on cable. I guess it may seem that I may want to get the .dmg or .toast file of the /sw folder. What do you have compiled anyways in there?

Also, a side question. When I go >console, startx, how to I get back into Aqua without restarting. I went 'exit' from that x interface, and then that little spinny thing that is under the Apple logo just spins around endlessly til I give my Mac the 3 finger salute.

I'll be on ICQ (10258525) later on today. I can set up my FTP or Carracho server if you do want to upload it to me. I guess even if it was a big file, it would save a lot of time downloading rather than just compiling.

Thanks to Sao and Braindead for all the help here.

sao 11-07-2002 08:06 PM

tsugaru,

Wow...what a mess!

First, your installation of gtetrinet was fine. It was just installing what was necessary for your set-up (40 packages). So, the only thing you had to do was to wait.

Then....I thought I wrote somewhere to ask before you do.

Well, you asked, but you didn't wait for my answer.

I can't believe you deleted...Fink.

I was talking about your XFree86 (XDarwin) installation.

So, what's your situation now, what did you do exactly?


Cheers...

sao 11-07-2002 08:18 PM

Quote:

tsugaru wrote:
I reinstalled fink by going >console, then startx. Took an hour to reinstall fink.
What the hell are you talking about? You found a new way of reinstalling Fink? What you are doing is just starting X11 in this way.

If you really did 'sudo rm -rf /sw'. Your Fink installation is no more existing. You will have to install it again in the same way you did it initially.

Quote:

tsugaru wrote:
So now that I reinstalled fink, I tried to reinstall the gtetrinet program. Yet it still asks for the 46 packages. I thought that they were pre-installed with Jaguar and/or fink.
Pre-installed with Jaguar...? or fink? I thought you said you deleted Fink...

I think tsugaru, you need to study a bit more about all these new tools, before you can play with them.

Please stop, I want to get out from the bus now.


Cheers...

BraindeadMac 11-07-2002 08:21 PM

Re: Braindead
 
Quote:

Originally posted by tsugaru
Hey:

I reinstalled fink by going >console, then startx. Took an hour to reinstall fink.

So now that I reinstalled fink, I tried to reinstall the gtetrinet program. Yet it still asks for the 46 packages. I thought that they were pre-installed with Jaguar and/or fink.

Anyways, I am on cable. I guess it may seem that I may want to get the .dmg or .toast file of the /sw folder. What do you have compiled anyways in there?

Also, a side question. When I go >console, startx, how to I get back into Aqua without restarting. I went 'exit' from that x interface, and then that little spinny thing that is under the Apple logo just spins around endlessly til I give my Mac the 3 finger salute.

I'll be on ICQ (10258525) later on today. I can set up my FTP or Carracho server if you do want to upload it to me. I guess even if it was a big file, it would save a lot of time downloading rather than just compiling.

Thanks to Sao and Braindead for all the help here.
Well I just attempted to make a disk image for you with disk copy and it choked....I'll see what Toast can do with it. FTP put to you would be good, or I can set up ftp as well. I'll try to icq you in the next hour or two.

i have kde-bundle, mysql, xfree86, ncbi, emboss, some others. I will have to massage some of the directories to get rid of some personalized stuff and some client stuff.....

tsugaru 11-08-2002 12:02 AM

Sao
 
I was thinking of reinstalling Jaguar from scratch to get it to work properly.

Yeah I sudo rm -rf /sw therefore removing fink. I reinstalled it from Xdarwin in xterm. I still gotta compile all that stuff that it needs I guess. Eugh... Maybe on my Mac I'll need a 3 day holiday (this weekend to do it). Geez.

Braindead, I was on ICQ then you started saying hello then you logged off. I was on at the time, albeit my computer was being quite slow. Therefore you may not have gotten my message (Damn YOU FIRE!!!!!!!) Thanks for your help. I dunno what would be wrong with Disk Copy or Toast Titanium in that it wouldn't be able to make a disc image.

I need that bus to run me over...:(

sao 11-08-2002 01:39 AM

tsugaru,

Well, it was surely a good learning exercise for you.

Don't give up. Gather your energy and start again.

Some more...tip-tops:

------------------------

X11

X11 is a graphics display system with a network-transparent client-server architecture.

------------------------

XFree86

XFree86 is an Open-Source implementation of X11.

-----------------------

MacOS X

Is a UNIX-based operating system produced by Apple Computer, and offers a unique combination of technical elements. The graphics engine in MacOS X is called Quartz and the look and feel is called Aqua.

----------------------

Darwin

Darwin is the Open Source release of the Mac OS X operating system. Is available free of charge and with full source code. It does not contain Quartz, Aqua, or any other related technology.

---------------------

MacOS X and X11 (XFree86) work together

In X11, the top window, called the root window, is the size of the screen and contains all other windows and also the desktop background. As a standalone graphical environment it has full control over the screen.

In MacOS X it is Quartz (the graphics engine) who has full control of the screen.

There are 2 ways for making these environments work together:

1.Fullscreen (rooted mode)
The two environments take turns and each of them take full control of the screen. We see only one at a time, but it's very easy to switch between them.

2.Rootless mode
Mixing the two environments. Letting Quartz take care of the desktop background, eliminating the X11 top window or root window. That's why this mode is called 'rootless'. This way eliminates the need to switch between two screens.

---------------------

XDarwin

XDarwin is the name of the X server which runs on systems using Darwin or Mac OS X. XDarwin provides the mechanism for switching which graphics system controls the screen.

Double clicking on the XDarwin.app will show you a dialog window where you can choose between 'fullscreen' and 'rootless' mode.

--------------------


Cheers...


All times are GMT -5. The time now is 06:13 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.