LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-22-2003, 06:02 PM   #1
Toker
Member
 
Registered: Sep 2003
Distribution: Mandrake9.1
Posts: 92

Rep: Reputation: 15
Install problems/Do I edit the path?


Capt. here....

OK... The PATH.... I'm pretty sure I understand what it does -> all the "searchable directories" are located there. If I simply type 'konqueror' from anywhere on my system, then the location of the executable file 'konqueror' must be in my path.... correct?

Now then... Why I'm trying to figure all this out... I'm trying to install automake-1.7.8 and the configure halts stating:
Quote:
configure: error: Autoconf 2.54 or better is required.
Is it installed? Is it in your PATH? (try running `autoconf --version')
Is it working? See also config.log for error messages before this one
when I type autoconf --version I get:
Quote:
autoconf (GNU Autoconf) 2.57
Written by David J. MacKenzie and Akim Demaille.

Copyright 2002 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.
At this point I gave a big wtf?!? and am assuming that this must not be in the path (should be though, as I can invoke it from anywhere.)

Looking at the config.log error before this one was:
Quote:
configure:1726: cd conftest && eval autoconf -o /dev/null conftest.ac
Usage: autoconf [-h] [--help] [-m dir] [--macrodir=dir]
[-l dir] [--localdir=dir] [--version] [template-file]
configure:1729: $? = 1
I need some advice on what I should be doing here.... If I do need to edit the path, what file is it I need to edit?
 
Old 10-22-2003, 11:46 PM   #2
Toker
Member
 
Registered: Sep 2003
Distribution: Mandrake9.1
Posts: 92

Original Poster
Rep: Reputation: 15
Hmmm... I'm pretty sure I'm documenting everything.... any ideas...?
 
Old 10-22-2003, 11:54 PM   #3
h/w
Senior Member
 
Registered: Mar 2003
Location: New York, NY
Distribution: Debian Testing
Posts: 1,286

Rep: Reputation: 46
cant be the path cos then "autoconf -v" wont work, right?
 
Old 10-23-2003, 12:02 AM   #4
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
it looks to me that your configure file has a bug. It passes an -o option to autoconf (autoconf -o /dev/null) and autoconf is responding that it doesn't know such an option (hence the 'usage' output in the log). Maybe you should try get hold of version 2.54, i.e. a slightly older version than the one you have?
 
Old 10-23-2003, 12:51 AM   #5
Toker
Member
 
Registered: Sep 2003
Distribution: Mandrake9.1
Posts: 92

Original Poster
Rep: Reputation: 15
In order to put on an older version, do I need to remove the "old" 2.57 then compile a fresh 2.54, or would compiling 2.54 as-is overwrite the previous copy?

Also, does anyone know where I can d/l 2.54 source? I can only seem to find rpms and I think compiling is more secure.
 
Old 10-23-2003, 12:59 AM   #6
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
you should get rid of the old install. If you still have the source tree, go there and do
make uninstall
and it should take care of it.

Can you find srpms or src.rpms? These are rpms that simply install the sources for you but not the binaries.
 
Old 10-23-2003, 01:19 AM   #7
Toker
Member
 
Registered: Sep 2003
Distribution: Mandrake9.1
Posts: 92

Original Poster
Rep: Reputation: 15
Since autoconf was put on by the mandrake install, the problem could be in the build they have? What if I would get the source for the 2.57 and compile it myself, that should simply append the current files and add in whatever the -o option is that is missing from the mdk build....
 
Old 10-23-2003, 11:33 AM   #8
Toker
Member
 
Registered: Sep 2003
Distribution: Mandrake9.1
Posts: 92

Original Poster
Rep: Reputation: 15
At this point I think there must be some setting on my system that is wrong! I decided to re-install the new autoconf, but I got an error about not having help2man. I got help2man and got an error there about not having gettext. I got the new gettext and that finally seemed to compile without a problem, but when I went back to try help2man again, I got the same error:
Quote:
checking for pre-loadable libintl... no
configure: error: libpreloadable_libintl.so required (gettext 0.12+)
 
Old 10-23-2003, 11:40 AM   #9
h/w
Senior Member
 
Registered: Mar 2003
Location: New York, NY
Distribution: Debian Testing
Posts: 1,286

Rep: Reputation: 46
doesnt mandrake have an apt tool like the redhat port? i strongly suggest you look into it, so you dont ever come across dependency issues like this.
 
Old 10-23-2003, 02:38 PM   #10
Toker
Member
 
Registered: Sep 2003
Distribution: Mandrake9.1
Posts: 92

Original Poster
Rep: Reputation: 15
It should.... mandrake is pretty much redhat. What is an apt tool, where do I get it, and what do I do with it? I was installing things from the rpms, but when that didn't help anything I started getting the sources and compiling them myself. What I'm getting in rpms may be older than the newest, but it's still within what the other programs are looking for. I install them and still get these errors. At least when I compile them myself I can see where the problem is rather than a message telling me the install went fine!
 
Old 10-23-2003, 10:14 PM   #11
Toker
Member
 
Registered: Sep 2003
Distribution: Mandrake9.1
Posts: 92

Original Poster
Rep: Reputation: 15
Shameless bump....

The problem as I can figure it out is... I install stuff, but even though the stuff I install is working and there, other stuff installing doesn't see the stuff... (??!?!?)
 
Old 10-23-2003, 10:20 PM   #12
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
mandrake has urpmi that solves a lot of the annoying rpm dependency problems. Go to
http://plf.zarb.org/~nanardon/urpmiweb.php
to set up some nice sources. Contrib, PLF and Texstar should together offer you quite a lot.

Also, if you are happy with automake1.6, that comes with the install CDs. Use either rpmdrake (the gui tool) or use
urpmi automake
to install it. urpmi is a much more powerful command than rpm.
 
Old 10-24-2003, 12:27 AM   #13
Toker
Member
 
Registered: Sep 2003
Distribution: Mandrake9.1
Posts: 92

Original Poster
Rep: Reputation: 15
Since I'm still a newb here... what did I just do? I put on all the stuff that I was told at that site without errors. I'm assuming that those are the updated lists of the "latest and greatest" rpms for mandrake? So how do I access the rpms and install them?

This also brings up another question. If I originally tried installing these things via the install cd's and d/l current rpms but still get these stupid problems, what good will this step do? I've been going under the impression that the best way to install something is by compiling the source on my system. Isn't that what I'm doing?

I did already add automake1.6 on from the install cd with rpmdrake and it claimed that the install was ok. Same with autoconf. This all started because I was having the same problem when I installed gtklib because when I installed gtkradiant (for q3a engine games map editing) it claimed it couldn't find the gtklib files and the only thing I could find to start diagnosing the problem was when the gtklib install gave a message about not finding automake, even though I had already installed it via rpmdrake and the install cd......

Plus... automake --version returns:
Quote:
automake (GNU automake) 1.7.2
Written by Tom Tromey <tromey@redhat.com>.

Copyright 2002 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.
Again.... It's there... It's working, but when I './configure' for gtklib, right at the begining I see:
Quote:
checking for working autoconf... found
checking for working automake-1.4... missing
checking for working autoheader... found

Last edited by Toker; 10-24-2003 at 12:39 AM.
 
Old 10-24-2003, 12:34 AM   #14
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
Quote:
Since I'm still a newb here... what did I just do? I put on all the stuff that I was told at that site without errors. I'm assuming that those are the updated lists of the "latest and greatest" rpms for mandrake? So how do I access the rpms and install them?
the stuff will show up in rpmdrake just the same way the stuff on the CDs show up. And you can install the same way - instead of asking for the CDs, rpmdrake will download from ftp sites that you set up.

As for compiling, I think what's happening is that mandrake rpm's install some things in non-conventional places for whatever reasons. If you install everything using rpms compiled for mandrake, there shouldn't be problems (use rpms for the version you're running; don't mix rpms for diff. versions or you will see serious trouble down the road).
 
Old 10-24-2003, 01:21 AM   #15
Toker
Member
 
Registered: Sep 2003
Distribution: Mandrake9.1
Posts: 92

Original Poster
Rep: Reputation: 15
Let me try to tackle the problem that started all this.... I try to run gtkradiant and get the message:
Quote:
./radiant.x86: error while loading shared libraries: libgtkglext-x11-1.0.so.0: cannot open shared object file: No such file or directory
I had assumed that installing all the gtk files would fix that, when I look at the urmpi and select just about every gtk+ package I can find, I still don't have this file! I also noted that many of the files I was d/l to compile were not even avalible via rpm such as help2man and from the gtk set I couldn't find atk or pango....

What are we saying here? That because I'm using a rpm based system (mandrake) I shouldn't compile things from source?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
edit value of PATH permanently rsumbeling Linux - General 2 12-13-2004 10:57 AM
How do I edit my path? Echo Kilo Linux - General 3 12-12-2004 01:50 PM
How to edit default PATH? davidas Linux - Newbie 2 03-20-2004 05:34 AM
How to edit the value of $PATH? ICO Slackware 1 02-07-2004 04:38 AM
how do i edit my echo$PATH Laptop2250 Linux - Newbie 6 11-15-2003 11:33 AM


All times are GMT -5. The time now is 12:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration