LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 09-06-2003, 08:31 PM   #1
Ownasaurus
LQ Newbie
 
Registered: Sep 2003
Posts: 6

Rep: Reputation: 0
Unhappy 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
 
Old 09-06-2003, 11:15 PM   #2
mlp68
Member
 
Registered: Jun 2002
Location: NY
Distribution: Gentoo,RH
Posts: 333

Rep: Reputation: 40
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
 
Old 09-07-2003, 10:36 AM   #3
Ownasaurus
LQ Newbie
 
Registered: Sep 2003
Posts: 6

Original Poster
Rep: Reputation: 0
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
 
Old 09-07-2003, 11:12 AM   #4
Ownasaurus
LQ Newbie
 
Registered: Sep 2003
Posts: 6

Original Poster
Rep: Reputation: 0
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
 
Old 09-07-2003, 11:24 AM   #5
pe2338
Member
 
Registered: Dec 2002
Location: Bucharest,RO
Distribution: debian etch, sarge and sid
Posts: 407

Rep: Reputation: 30
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 .
 
Old 09-07-2003, 01:07 PM   #6
Ownasaurus
LQ Newbie
 
Registered: Sep 2003
Posts: 6

Original Poster
Rep: Reputation: 0
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to get (makefile -f makefile )output into the textview widget in Pygtk sailu_mvn Programming 3 02-28-2005 03:57 AM
spamassassin: makefile missing separator Andreja Linux - Software 1 05-31-2004 10:39 AM
generate Makefile from Makefile.in without calling ./configure ? chris78 Programming 2 05-02-2004 12:23 PM
My field separator changes when using awk Helene Programming 3 05-01-2004 08:10 AM
Missing Separator? jamespetts Linux - Software 2 09-05-2002 12:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:44 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration