Install Problems: make complains it can't make a hard link

I had no trouble getting the SDL tar.gz set up and running ./configure, but
make stops with the messsage “ln: cannot create hard link ‘libarch.la’ to
’…/libarch.la’: Operation not permitted”. I’m doing everything from a terminal
in X as root, and root owns all the files, so I don’t see the problem. I’m
pretty new to linux and programming, so it’s probably something simple I’m
overlooking (I hope). Any help would be greatly appreciated. Thanks in advance
:).–
Jeremy Gregorio
jgreg at azstarnet.com

I had no trouble getting the SDL tar.gz set up and running ./configure, but
make stops with the messsage “ln: cannot create hard link ‘libarch.la’ to
’…/libarch.la’: Operation not permitted”. I’m doing everything from a terminal
in X as root, and root owns all the files, so I don’t see the problem. I’m
pretty new to linux and programming, so it’s probably something simple I’m
overlooking (I hope). Any help would be greatly appreciated. Thanks in advance

What platform, and what file system? It seems that libtool tests whether
symlinks are supported, and decides to use hard links if not. It does not
check that hard links work (probably a libtool bug).

So I suspect you are trying to build SDL on a file system that supports
neither symlinks nor (multiple) hard links. Maybe you are using FAT or HFS?
Move the stuff over to a real unix fs and try again. And check that your
$PATH isn’t screwed up

Sorry, it was pretty late when I wrote the email ;), should have been more
specific. I’ve running redhat linux 6.1, and yes, I was trying to build it on
fat32 (I was building in Linux from my Windows partition). Thanks, I’d probably
never have realized the problem. I know I’ve read about the filesystem issue
somewhere but it just didn’t click at the time. Thanks again.On Wed, 11 Oct 2000, you wrote:

I had no trouble getting the SDL tar.gz set up and running ./configure, but
make stops with the messsage “ln: cannot create hard link ‘libarch.la’ to
’…/libarch.la’: Operation not permitted”. I’m doing everything from a terminal
in X as root, and root owns all the files, so I don’t see the problem. I’m
pretty new to linux and programming, so it’s probably something simple I’m
overlooking (I hope). Any help would be greatly appreciated. Thanks in advance

What platform, and what file system? It seems that libtool tests whether
symlinks are supported, and decides to use hard links if not. It does not
check that hard links work (probably a libtool bug).

So I suspect you are trying to build SDL on a file system that supports
neither symlinks nor (multiple) hard links. Maybe you are using FAT or HFS?
Move the stuff over to a real unix fs and try again. And check that your
$PATH isn’t screwed up

Jeremy Gregorio
jgreg at azstarnet.com