LinuxQuestions.org
Visit Jeremy's Blog.
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 07-14-2011, 09:32 PM   #1
Alpo
Member
 
Registered: Jul 2011
Location: US and A.
Distribution: RHEL 6.1 & Ubuntu 10.04
Posts: 50

Rep: Reputation: Disabled
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?
 
Old 07-14-2011, 10:10 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154
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.

..

Last edited by knudfl; 07-14-2011 at 10:13 PM.
 
Old 07-14-2011, 10:13 PM   #3
Alpo
Member
 
Registered: Jul 2011
Location: US and A.
Distribution: RHEL 6.1 & Ubuntu 10.04
Posts: 50

Original Poster
Rep: Reputation: Disabled
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?
 
Old 07-14-2011, 10:20 PM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154
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


..
 
1 members found this post helpful.
Old 07-14-2011, 10:21 PM   #5
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,818

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
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

Last edited by John VV; 07-14-2011 at 10:24 PM.
 
1 members found this post helpful.
Old 07-15-2011, 07:58 PM   #6
Alpo
Member
 
Registered: Jul 2011
Location: US and A.
Distribution: RHEL 6.1 & Ubuntu 10.04
Posts: 50

Original Poster
Rep: Reputation: Disabled
John VV,

Thanks! Question, though: Where do the downloaded rpms go?
 
Old 07-15-2011, 08:39 PM   #7
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,818

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
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.
 
1 members found this post helpful.
Old 07-15-2011, 09:01 PM   #8
Alpo
Member
 
Registered: Jul 2011
Location: US and A.
Distribution: RHEL 6.1 & Ubuntu 10.04
Posts: 50

Original Poster
Rep: Reputation: Disabled
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?
 
Old 07-15-2011, 10:30 PM   #9
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,818

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
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

Last edited by John VV; 07-15-2011 at 10:33 PM.
 
1 members found this post helpful.
Old 07-15-2011, 10:33 PM   #10
Alpo
Member
 
Registered: Jul 2011
Location: US and A.
Distribution: RHEL 6.1 & Ubuntu 10.04
Posts: 50

Original Poster
Rep: Reputation: Disabled
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?
 
Old 07-15-2011, 10:40 PM   #11
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,818

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
then basically you are out of luck
rhel6 MUST be registered for access to the the base system components.
 
Old 07-15-2011, 10:41 PM   #12
Alpo
Member
 
Registered: Jul 2011
Location: US and A.
Distribution: RHEL 6.1 & Ubuntu 10.04
Posts: 50

Original Poster
Rep: Reputation: Disabled
Yup, this is frustrating. We've been working this issue for two weeks. Thanks for all the help!
 
Old 07-15-2011, 10:53 PM   #13
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,818

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
two weeks ?
there is a register button on the desktop
click the link
 
Old 07-15-2011, 10:56 PM   #14
Alpo
Member
 
Registered: Jul 2011
Location: US and A.
Distribution: RHEL 6.1 & Ubuntu 10.04
Posts: 50

Original Poster
Rep: Reputation: Disabled
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.
 
  


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
[SOLVED] Wireshark compile error in RHEL 6.1 Alpo Linux - Enterprise 12 08-01-2011 09:52 AM
How to: Compile Kernel RHEL 5.3 HazByn Linux - Kernel 3 04-13-2009 03:18 AM
[SOLVED] compile a new kernel in RHEL 5 vikas027 Linux - Enterprise 9 10-11-2008 03:27 PM
How can I compile software on RHEL ? calande Red Hat 6 07-31-2006 08:23 AM
Compile Failure RHEL 4.0 U3 wnevis Linux - Software 1 03-14-2006 10:49 PM


All times are GMT -5. The time now is 05:13 AM.

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