Go Back   The macosxhints Forums > OS X Help Requests > UNIX - X11



Reply
 
Thread Tools Rate Thread Display Modes
Old 07-01-2003, 12:05 PM   #1
Kajo
Prospect
 
Join Date: Jul 2003
Location: Madison, WI
Posts: 5
Panther, GTK, Glib, Gettext, problems, help!

Ok, so I'm having some problems installing stuff under Panther's new X11. I don't know how many of you will be able to help, but I hope someone has some answers.

Ultimately I'm trying to install nessus and snort, I had them working on my old 10.2 setup but can't seem to do it properly under 10.3. I understand that Fink can't be used in 10.3 because of the new GCC 3.3.3 compiler. So until they put out a new version of Fink I'm outta luck on that, this is good practice though installing dependancies and what not without Fink.

Anyway, I downloaded all the latest installs. So far I installed pkg-config and gettext. Now I am trying to install glib so I can install GTK, unfortunately the glib install dumps when I do a ./configure and tells me that I need the GNU version of gettext installed. I did a gettext -V at the command line and it says I have the correct version with GNU support. I checked the logs for glib (config.status) and it appears that it's terminating the install on msgfmt (a program supposedly installed with gettext). I did a find / msgfmt under root and it didn't turn up a damn thing, so I'm wondering what the deal is.

Anyone have any help for this situation?
Kajo is offline   Reply With Quote
Old 07-01-2003, 03:19 PM   #2
sao
Moderator
 
Join Date: Jan 2002
Location: Singapore
Posts: 4,237
Kajo,

If you have GCC 3.3, before compiling packages, try running:

'sudo gcc_select 3.1'
sao is offline   Reply With Quote
Old 07-01-2003, 03:27 PM   #3
Kajo
Prospect
 
Join Date: Jul 2003
Location: Madison, WI
Posts: 5
should i be doing this just before installing fink or anything that i do a ./configure to? I kind of wanted to figure out how this stuff was installed without fink because I don't like how fink dumps everything into
/sw , it just seems a little redundant to recreate the entire unix file structure under /sw

Thanks!
Kajo is offline   Reply With Quote
Old 07-01-2003, 04:02 PM   #4
sao
Moderator
 
Join Date: Jan 2002
Location: Singapore
Posts: 4,237
Kajo,

I donīt recommend using Fink in Panther, as Fink latest version does not support yet OS X version 10.3.

Is still not clear how to handle things with GCC 3.3 and Panther, I know only bits and pieces, and I will wait to see how the Fink developers handle the transition. This is the info I gathered till now:

Fink 0.5.3 does not support yet OS X version 10.3.

Fink does not yet support compiling with gcc 3.3.

The new June 2003 Assambler crashes:
The Dec2002gccUpdater.pkg installs a new /usr/libexec/gcc/darwin/ppc/as which is used even if one leaves the compiler at gcc-3.1. There is a bug that prevents people that have the Updater.pkg installed from compiling atlas and probably other fink software packages as well.
sao is offline   Reply With Quote
Old 07-01-2003, 04:08 PM   #5
Kajo
Prospect
 
Join Date: Jul 2003
Location: Madison, WI
Posts: 5
I know, I didn't want to use Fink. I was questioning what your solution (using GCC 3.1) was for? I don't get when I am supposed to issue the command

sudo gcc_select 3.1

sometime before running a ./configure on something?
Kajo is offline   Reply With Quote
Old 07-01-2003, 04:16 PM   #6
sao
Moderator
 
Join Date: Jan 2002
Location: Singapore
Posts: 4,237
Yes, try to see if it works for you.
sao is offline   Reply With Quote
Old 07-01-2003, 04:29 PM   #7
Kajo
Prospect
 
Join Date: Jul 2003
Location: Madison, WI
Posts: 5
Well I issued the command and it told me that it was now using GCC 3.1. I reinstalled gettext and it says

gettext (GNU gettext-runtime) 0.12.1
Copyright (C) 1995-1997, 2000-2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Ulrich Drepper.


But it still errors out upon installing glib.

checking for dgettext in -lintl... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... no
configure: error:
*** You must have either have gettext support in your C library, or use the
*** GNU gettext library. (http://www.gnu.org/software/gettext/gettext.html
Kajo is offline   Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -5. The time now is 11:16 AM.


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.