LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   RHEL 6 Compile Error (https://www.linuxquestions.org/questions/linux-newbie-8/rhel-6-compile-error-891800/)

Alpo 07-14-2011 08:32 PM

RHEL 6 Compile Error
 
I just installed RHEL 6.1 and saw this when trying to compile ntfsprogs:

Code:

[root@Alpo-Computer ntfsprogs-2.0.0]# ./configure
checking build system type... Invalid configuration `x86_64-unknown-linux-': machine `x86_64-unknown-linux' not recognized
configure: error: /bin/sh ./config.sub x86_64-unknown-linux- failed

Any suggestions?

knudfl 07-14-2011 09:10 PM

The correct way for a package install : # yum install ntfsprogs

→ 'ntfsprogs', ntfs-3g: The EPEL repo https://fedoraproject.org/wiki/EPEL


About your error : May be you got a corrupt source package ? Or ?
The "Redhat source" = ntfsprogs-2.0.0-13.el6.src.rpm :
http://download.fedora.redhat.com/pu...13.el6.src.rpm
( .. And that source configures / builds with no errors.)

Running ./configure as root is wrong. The default build location is
/home/<user-name>/tmp/ , where commands can be run as unprivileged user.
Only 'make install' is to be run as root.

..

Alpo 07-14-2011 09:13 PM

Code:

[root@Alpo-Computer Alpo]# yum install ntfsprogs
Loaded plugins: product-id, refresh-packagekit, subscription-manager
Updating Red Hat repositories.
Setting up Install Process
Nothing to do
[root@Alpo-Computer Alpo]#

Could a subscription error disallow using yum?

knudfl 07-14-2011 09:20 PM

EPEL will work, and ntfsprogs, ntfs-3g have no dependencies.


But you will of course have to install the epel.repo :
# rpm -Uvh epel-release-6-5.noarch.rpm
http://ftp.crc.dk/fedora-epel/6/i386...6-5.noarch.rpm


..

John VV 07-14-2011 09:21 PM

you need to add the repo. and install "yum protectbase" and "yum-priorities" plugins
https://fedoraproject.org/wiki/EPEL
and please read the red hat documentation on third party repos ( RPMforge, epel, or Atrpm )
http://www.redhat.com/support/
https://access.redhat.com/knowledge/...erprise_Linux/
-- for the cent docs, do not install the cent repos -- and make sure you install the el6 NOT the el5 .
http://wiki.centos.org/AdditionalResources/Repositories

Alpo 07-15-2011 06:58 PM

John VV,

Thanks! Question, though: Where do the downloaded rpms go?

John VV 07-15-2011 07:39 PM

Quote:

Where do the downloaded rpms go?

from yum they are in a temporary file /tmp/???/????/?????
then chron removes old files after 30 days

from wget it might also be in a temp folder then removed after 30 days by chron


once you have a paid for and registered copy of rhel6 running
run
su -
yum search ntfsprogs
if in the repos that you have installed
yum install ntfsprogs

------------------
in the very first link i posted there is a rpm for the epel el6 repo
Quote:

If you are running an EL6 version: epel-release-6-5.noarch.rpm
in firefox click on it
ff will ask to install or save
install
a popup asking for root password will "pop-up"
then install
then
Code:

su -
yum update

that repo is installed and the rpms are listed in the yum database.

Alpo 07-15-2011 08:01 PM

John VV,

Awesome. Thanks for all the info. NTFSProgs didn't work with the repos, btu ntfs-3g worked like a charm.

So, here's another question: RHEL 6.1 includes only a few *-devel packages. As you can imagine, I sometimes get dependency nightmares especially when I want to compile a program. How can I make the pain go away?

John VV 07-15-2011 09:30 PM

the -devel rpms are in the RHN repo ( and the others)
if you search yum you should also see the -devel part with it

Code:

yum search png
will output a bunch

also for red hat is is recommended to install the software groups
Code:

yum --help
----------------
yum grouplist
-----------
yum groupinstall " Development Tools" "Development Libraries"
--------------
/* and read the manual page */
man yum

and READ the red hat documentation
https://access.redhat.com/knowledge/...erprise_Linux/
install guide
http://docs.redhat.com/docs/en-US/Re...ide/index.html

Alpo 07-15-2011 09:33 PM

Awesome. Unfortunately, I've been working with RHN to get my subscription working; I'm assuming this affects my ability to subscribe to the proper package channels? If so, will I have to depend on RPMforge and/or EPEL for RPMs?

John VV 07-15-2011 09:40 PM

then basically you are out of luck
rhel6 MUST be registered for access to the the base system components.

Alpo 07-15-2011 09:41 PM

Yup, this is frustrating. We've been working this issue for two weeks. Thanks for all the help!

John VV 07-15-2011 09:53 PM

two weeks ?
there is a register button on the desktop
click the link

Alpo 07-15-2011 09:56 PM

That's the problem - I've registered the system, reinstalled RHEL 6, emailed customer support and they elevated it twice. It's now with the RHN engineers as opposed to normal tech/customer support. No one can seem to solve the issue.


All times are GMT -5. The time now is 09:50 AM.