Perl problems

Using applications, configuring, problems
Post Reply
Message
Author
Taavi
Posts: 146
Joined: Fri 10 Mar 2006, 19:23
Location: Suomi, Finland

Perl problems

#1 Post by Taavi »

I'm trying to install perl/tk with cpan but get message that ends like this:

Code: Select all

...Finding dependencies for tkGlue_f.c
Finding dependencies for tkWin32Dll.c
Tests in PNG
Tests in JPEG
Tests in Event
Writing Makefile for Tk
    -- NOT OK
Running make test
  Can't test without successful make
Running make install
  make had returned bad status, install seems impossible
What does it mean?

amigo
Posts: 2629
Joined: Mon 02 Apr 2007, 06:52

#2 Post by amigo »

Do you have development tools/libs installed -you need make, binutils and gcc at least -probably kernel headers also -maybe still more.

Taavi
Posts: 146
Joined: Fri 10 Mar 2006, 19:23
Location: Suomi, Finland

#3 Post by Taavi »

I have devx_411.sfs in my /mnt/home directory - do I need something more?

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#4 Post by MU »

you also must add it in the bootmanager available in Puppys menu.

To check if it is installed correctly, type in a consolewindow:
gcc

This should report:
gcc: no input files

If you get:
gcc: command not found
then devx is not installed.

Mark
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]

Taavi
Posts: 146
Joined: Fri 10 Mar 2006, 19:23
Location: Suomi, Finland

#5 Post by Taavi »

Yes, I've loaded it in the bootmanager.

gcc says: no input files

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#6 Post by MU »

fine, that is good.
I'm not sure what else misses.
Maybe Tcl/Tk.

You could try to install one with Petget, I think the Puppy3 repository has Tcl/Tk 8.5.

Or try this dotpup:
http://dotpups.de/dotpups/Programming/TclTk851.pup
In Puppy 4, you must install with Petget the "dotpuphandler", to be able to install dotpups.

Mark
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]

Taavi
Posts: 146
Joined: Fri 10 Mar 2006, 19:23
Location: Suomi, Finland

#7 Post by Taavi »

Thanks,
but I have Tcl/Tk installed as I need it for asmn. No I'll go for a walk an cup of coffee and then I continue trying and hoping.

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#8 Post by MU »

please look if you have:
/usr/include/tk.h

The PET might not have the includefiles, as the pets often just contain the binaries, but not the development files.
The 851 PUP should include the development files.
If not, let me know, then I could create a new package.

Mark
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]

Taavi
Posts: 146
Joined: Fri 10 Mar 2006, 19:23
Location: Suomi, Finland

#9 Post by Taavi »

Hi,

Theres no tk.h in my /usr/include/. I also noticed that the devx_411.sfs file don't get mounted right. In /usr/lib/perl5/5.8.8 were not all the files ther should have been. For example no CPAN.pm. So I copied the perl-directory and made pet from it. I'm not sure how wise that was.

Post Reply