LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   findutils problem (https://www.linuxquestions.org/questions/linux-software-2/findutils-problem-92726/)

zoomzoom 09-14-2003 12:49 PM

findutils problem
 
Hi,

i just compiled findutils-4.1.20 with the following options:

./configure --prefix=/mnt/hda3 --disable-nls LDFLAGS="-static"
make
make install

Now when i execute it, it fails with this error:

find .: value too large for defined data type

Please can anybody help me?

Bye

bigrigdriver 09-14-2003 02:53 PM

I'll try to help. You installed to /mnt/hda3. /mnt is usually reserved for mount points to mount partitions, devices, etc., and not used as a directory in which to install software. hda3 should be listed in /etc/mtab if it's a mounted partition or device. If it's not in mtab, look in /etc/fstab. If you find it there, but not in mtab, it's available to mount. The line in fstab should begin with something like '/dev/hda3' which you may have pointed to the mount point /mnt/hda3. So the line in fstab would read '/dev/hda3 /mnt/hda3' which means mount the device /dev/hda3 on mount point /mnt/hda3. You can then mount the partition like this: mount /dev/hda3 (specifying only the device to mount), or like this: mount /dev/hda3 /mnt/hda3 (specifying the device to mount and the mount point).
You can try to reinstall, but this time ./configure --prefix=/usr/local or some other directory in which to install (instead od mount point).
NOTE: by trying to install to the partition as in your first attempt, you may have overwritten the raw partition. If so, I hope there wasn't anything important there.

zoomzoom 09-14-2003 03:50 PM

the partition was correctly mounted, i'm sure, because findutils installed (copied) correctly to it... (and it was also listed in mtab)

however, i tried installing to a different directory (as you recommended /usr/local), but i didn't help...

It seems to build/install correctly but when i want to launch it (the compiled 'find' program), it says 'value too large for defined data type'...
i know, this wasn't very clear in my first post. sorry...

zoomzoom 09-23-2003 11:08 AM

Well, i left the LDFLAGS="-static" and after setting LD_LIBRARY_PATH correctly, and it worked (even though i compiled it dynamically and not using a libc in the runtime evironment!) WOHOO!


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