Makefile separator problem
I am trying to install the latest version of Tk for perl, but for some reason it isn't working. I get the error:
Makefile:95: *** missing separator. Stop. Here are lines 94, 95, and 96 of my Makefile: installhtml3dir='' <-- that's two single quotes installman1 INSTALLSITEBIN = /usr Can someone please help me fix the problem, whatever it may be? Thanks alot! - The Ownasaurus |
This is a known problem with the perl version that ships with Redhat 9 and some special UTF-8 iso character set that screws up some string processing. The Makefile gets generated by the Makefile.PL script, and there it happens.
By default you have $LANG set to # echo $LANG en_US.iso885915 # Do LANG=C Makefile.PL and it should work. The redhat folks know about it... http://bugzilla.redhat.com/bugzilla/...g.cgi?id=87682 Hope it helps, mlp |
Ok thanks! I get it make the Makefile perfectly, but now i get another problem:
gcc -c -I.. -I/usr/X11R6/include -I. -Ibitmaps -I/usr/X11R6/include -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -march=i386 -mcpu=i686 -g -DVERSION=\"800.024\" -DXS_VERSION=\"800.024\" -fPIC "-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE" -Wall -Wno-implicit-int -Wno-comment -Wno-unused -D__USE_FIXED_PROTOTYPES__ ClientWin.c /bin/sh: line 1: gcc: command not found make[1]: *** [ClientWin.o] Error 127 make[1]: Leaving directory `/home/justin/Tk800.024/pTk' make: *** [pTk/libpTk.a] Error 2 Please help me by this one last obstacle! I assume it has something to do with me needing gcc, but I just moved to linux 2 days ago and I have no idea what that is. Thanks in advance, - The Ownasaurus |
OK I realized that I should rely on myself sometimes, and I fixed that problem myself. I made the Makefile, and it seemed to go just fine. Next i did make test, and here is what happened:
Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/create.t 1 256 419 319 76.13% 101-419 t/zzScrolled.t 94 2 2.13% 66 94 Failed 2/25 test scripts, 92.00% okay. 321/904 subtests failed, 64.49% okay. make: *** [test_dynamic] Error 29 Should I go ahead and do make install or what? I have no idea what went wrong. Please help me! - The Ownasaurus |
Quote:
What I don't understand is how you managed to install linux _without_ gcc. gcc = GNU C compiler . |
As you can easily see acording to my above post, I already fixed that basic problem myself and now i am having trouble with another problem. See my previous post.
- The Ownasaurus |
All times are GMT -5. The time now is 03:05 PM. |