Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
09-06-2003, 08:31 PM
|
#1
|
LQ Newbie
Registered: Sep 2003
Posts: 6
Rep:
|
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
|
|
|
09-06-2003, 11:15 PM
|
#2
|
Member
Registered: Jun 2002
Location: NY
Distribution: Gentoo,RH
Posts: 333
Rep:
|
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
|
|
|
09-07-2003, 10:36 AM
|
#3
|
LQ Newbie
Registered: Sep 2003
Posts: 6
Original Poster
Rep:
|
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
|
|
|
09-07-2003, 11:12 AM
|
#4
|
LQ Newbie
Registered: Sep 2003
Posts: 6
Original Poster
Rep:
|
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
|
|
|
09-07-2003, 11:24 AM
|
#5
|
Member
Registered: Dec 2002
Location: Bucharest,RO
Distribution: debian etch, sarge and sid
Posts: 407
Rep:
|
Quote:
Originally posted by Ownasaurus
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
|
as you can easily see the fact is that you don't have gcc installed, so install the rpm or the package that contains gcc.
What I don't understand is how you managed to install linux _without_ gcc.
gcc = GNU C compiler .
|
|
|
09-07-2003, 01:07 PM
|
#6
|
LQ Newbie
Registered: Sep 2003
Posts: 6
Original Poster
Rep:
|
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 07:34 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|