|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Generate data entry and reporting .NET Web apps in minutes, straight from your database. Read our FREE whitepaper “Build Web 2.0 Applications Without Hand-Coding” Download now! |
|
#1
|
|||
|
|||
|
Redhat Linux 8.0: ImageMagick: GCC Compiler Error
Just the Facts:
I am trying to install the Image::Magick Perl module on my Redhat Linux 8.0 server and I keep getting an error from the configure script "error: no acceptable C compiler found in $PATH". I did a search in the Google/Groups, but since I'm certainly no Yoda-like Linux expert, I think the problem has something to do with RH 8.0 using GCC 3.2 and that it isn't compatible with older applications. Seems a bit strange to me that RH would have a version of GCC that eliminates certain scripts from being installed (but then again, I don't know RH that well )Is there any way around this problem? Will I ever be able to install Image::Magick on this box? A Few More Details: I use the GNOME interface on this box and I did check the RPM Package Installer interface. It says that ImageMagick IS installed, yet my MovableType publishing application say it is not. So, I downloaded the Image::Magick module from an authorized FTP mirror site, unpacked it, then ran the ./configue command which resulted in the above mentioned error. I then tried to install the module using Webmin's Perl module interface (most handy, btw). Using Webmin, one simply types the module name (Image:Magick) into a text field and then one hits the "Install" button and off it goes and installs the module automatically. Now, here's where it gets weird: Webmin didn't just grab the Image:Magick module, it grabbed the PerlMagick-5.51 module, gunzip'd it, then tried to compile it. It then ran into the same problem while trying to compile PerlMagick coughing back the error "/bin/sh: line 1: gcc: command not found". I know that PerlMagick and ImageMagick are closely intertwined, but I'm a bit stymied by that one. ***** Any and all help will be most appreciated! |
|
#2
|
||||
|
||||
|
If you type "gcc" or "g++" at the prompt does it return "command not found"? Maybe it's simply the path that haven't been updated to reflect the new compiler.
__________________
Words must be weighed, not counted. |
|
#3
|
|||
|
|||
|
riv,
D'oh! Thanks for the wake up call. Appears that I never had gcc on the machine since the git go. I went into the Package Management interface and found that gcc wasn't on the list under Development tools (oh, the shame of it all!). I added it to the list by checking its little check box, but now up2date is complaining that it has an unlocatable package "krb5-libs = 1.2.5-6" and that it is required by "krb5-devel". I did find the krb5-server package, the server programs for Kerebos 5, under the Network Servers package details, but when I went to install it using up2date, I still got the unlocatable package "krb5-libs..." error. So, I went and found the krb5-libs rpm and installed that manually. I went back into the Package Management interface but still got the error. It was then I realized I had installed krb5-libs = 1.2.5-7 not 1.2.5-6. So, I got the right version but it won't install obviously because I have the newer version. Now, I'm too much of a dunce to know how to manually uninstall 1.2.5-7 (I tried rpm -e and the file name, but no go) and RH 8.0 doesn't have the good ol' Gnome-RPM application for installing and uninstalling individual RPMs for some reason (must be the new Package Management thingy that takes its place). Anyway, I'm stuck with a newer version of krb5-libs, the Package Management won't install gcc unless it gets the older version, so I guess I'll just sit here and wait until someone shines some light on my problem. Ah, makes you just love working with Linux, eh? ![]() Last edited by DH123 : December 24th, 2002 at 05:11 PM. |
|
#4
|
||||
|
||||
|
Have you tried to simply downgrade?
And I haven't made love to Linux personally. ![]() |
|
#5
|
|||
|
|||
|
riv,
Tried that, but it didn't work (downgrading, that is ... not the making love thing ).I've decided to re-install the OS from scratch, but this time I'm going to include all the development tools (and everything else, for that matter). We'll see if that solves the problem. When in doubt, rip it out! |
|
#6
|
|||
|
|||
|
Solution... is it a bit late?
You can force RPM to install the "older" version with the command:
rpm -Uhv <filename>.rpm --oldpackage (where <filename>.rpm is the file you want to install). |
|
#7
|
|||
|
|||
|
Thanks, Monkmaster. Good tip.
|
|
#8
|
|||
|
|||
|
gcc ... package not found
did forcing an rpm install of the older versions help?I am having what appears to be a related problem. RH8 custom installation. Going back to install the Developer Tools package, and the installer complains about missing (old ) versions of cyrus-sasl and krb5-libs. The latest versions are installed.
|
![]() |
| Viewing: Dev Shed Forums > Operating Systems > Linux Help > Redhat Linux 8.0: ImageMagick: GCC Compiler Error |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|