[bug-gs] 'make install' on FreeBSD 5.1-Release (gs 8.1x)

Kenneth B. Harwood run10kswim@comcast.net
Wed, 27 Aug 2003 12:25:41 -0700


'make install' aborts.

it looks as though 'make install' runs like a regular "make", in that the 
command attempts to rebuild a ton (ALL?) of Ghostscript. instead of just 
copying the GS files into their respective '/usr/local/...' directories (ie. 
'instcopy -c ...', the process starts some huge compilation run (ie. 'gcc -o 
genconf.c' ). the compile bombs, and the 'make install' quits

i was still able to install GS via a hack:

1) download and extract
2) ./configure --with-XXX --with-YYY etc
3) edit Makefile for FreeBSD (not really required)
4) make

lots of warnings but it runs to completion. at this point a simple 'make 
install' will bomb. so to complete the install, perform the following:

make -n install | \				# displays commands w/out executing them
sed '1,/mkdir d' >myscript		# delete up to the 1st 'mkdir' command
chmod +x myscript			# turn it into an executable
./myscript					# runs the various copying comands

[ i don't know if my 'sed' syntax is correct but i think you get the idea. i 
had to manually delete quite a few lines, starting with "gcc ... genconf.c"]

thanks for your efforts. now that i can read the OpenSound API document (in 
PDF) i can return to my own core development needs.

 - kenneth harwood
   reno, nevada