Re: [gtk-list] Installing in FreeBSD



> Sorry for posting such kind of mail but I was spending few days
> trying to figure out how to install GTK+ for perl in my machine.
> In the README file: "To build, fully build and install Gtk in
> your system(and glib too, if necessary), then run ......", I don't
> know how to do it(it means like putting the *.h files
> somewhere in a directory which would be in PATH but which files?).
> (Got the tarball and untarred it and got the directory
> Gtk-0.3, what's next). Any help ?
> 

Get the ports from 
	
  ftp://ftp.freebsd.org/pub/FreeBSD/ports-current/x11-toolkits/p5-Gtk
  ftp://ftp.freebsd.org/pub/FreeBSD/ports-current/x11-toolkits/gtk11
  ftp://ftp.freebsd.org/pub/FreeBSD/ports-current/x11-toolkits/imlib

You need the full directories, you can fetch them by appending .tar to
them, thus, (with an open Internet connection) type:

fetch ftp://ftp.freebsd.org/pub/FreeBSD/ports-current/x11-toolkits/p5-Gtk.tar
fetch ftp://ftp.freebsd.org/pub/FreeBSD/ports-current/x11-toolkits/gtk11.tar
fetch ftp://ftp.freebsd.org/pub/FreeBSD/ports-current/x11-toolkits/imlib.tar

extract them somewhere and then go to the p5-Gtk directory and type 'make'.

(Since p5-Gtk depends on gtk11 and imlib, thos will get build too.)

This will fetch all stuff for you from the ftp sites and build it for you.
When it finishes without errors you can type 'make install'.

See also the ports section in the handbook, 

	http://www.freebsd.org/handbook/handbook23.html#25

Marc.

----------------------------------------------------
Marc van Kempen                 BowTie Technology     
Email: marc@bowtie.nl            WWW & Databases
tel. +31 40 2 43 20 65         
fax. +31 40 2 44 21 86         http://www.bowtie.nl
----------------------------------------------------





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]