LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   gnu units (https://www.linuxquestions.org/questions/slackware-14/gnu-units-294293/)

denning 02-24-2005 07:48 AM

gnu units
 
hi, what is the easiest way to get gnu units installed on slackware?

I tried looking for a package on linuxpackages but it doesn't have it. I then tried installing from source but the make keeps failing:

alvin@fawkes:~/units-1.74$ make
gcc -DUNITSFILE=\"/usr/local/share/units.dat\" -DREADLINE -g -O2 -I. -c units.c
units.c: In function `main':
units.c:2218: warning: assignment from incompatible pointer type
units.c:2329:5: missing terminating " character
make: *** [units.o] Error 1

denning 02-24-2005 08:05 AM

never mind. solved my own problem. just downloaded the rpm for Fedora and used rpm2tgz. Kind of cheating, but i couldn't be arsed to do it properly.

kodon 02-24-2005 08:14 AM

it looks like they escaped the closing " on that line
if you remove the escape character it should compile


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