Solaris 2.5 failure to make perl/Tk 
Author Message
 Solaris 2.5 failure to make perl/Tk

Quote:

>Since perl/Tk was developed on a Solaris platform, and the README.Solaris
>implied there would be no trouble, I was amazed to see the following, which
>I am enclosing.

Thank you. That is 2nd Sun-CC bug in as many days - can you let me
know which 'cc' you are using?

....

Quote:
>cc -c -I/usr/openwin/include -I. -O -DVERSION=\"b11\" -DXS_VERSION=\"b11\" -KPIC
>-I/usr/local/lib/perl5/sun4-solaris/5.002/CORE -DBASEEXT=\"pTk\"  tkBitmap.c
>cc -c -I/usr/openwin/include -I. -O -DVERSION=\"b11\" -DXS_VERSION=\"b11\" -KPIC
>-I/usr/local/lib/perl5/sun4-solaris/5.002/CORE -DBASEEXT=\"pTk\"  tkButton.c
>>cc -c -I/usr/openwin/include -I. -O -DVERSION=\"b11\" -DXS_VERSION=\"b11\" -KPIC
>-I/usr/local/lib/perl5/sun4-solaris/5.002/CORE -DBASEEXT=\"pTk\"  tkCanvArc.c
>"/usr/include/stdlib.h", line 148: identifier redeclared: getopt
>    current : function(int, pointer to pointer to char, pointer to char)
>returning int
>    previous: function(int, pointer to const pointer to char, pointer to
>const char) returning int : "/usr/include/stdio.h", line 242
>"/usr/include/stdlib.h", line 149: identifier redeclared: getsubopt
>    current : function(pointer to pointer to char, pointer to pointer to
>char, pointer to pointer to char) returning int
>    previous: function(pointer to pointer to char, pointer to const pointer  
>to char, pointer to pointer to char) returning int : "/usr/include/stdio.h",
>line 244
>"/usr/include/unistd.h", line 230: identifier redeclared: rename
>    current : function(pointer to char, pointer to char) returning int
>    previous: function(pointer to const char, pointer to const char)
>returning int : "/usr/include/stdio.h", line 148
>cc: acomp failed for tkCanvArc.c
>*** Error code 2

This is really strange. stdlib.h and unistd.h are #included in tkPort.h
so should have been there in all the previous (successful) compiles too.

Looking at tkCanvArc.c I see it has :

#include <stdio.h>
#include "tkPort.h"

While tkButton.c has:

#include "default.h"
#include "tkPort.h"

As tkPort.h #includes <stdio.h> anyway try deleting explict
#include <stdio.h>

From tkCanvArc.c.

Quote:
>make: Fatal error: Command failed for target `tkCanvArc.o'
>Current working directory /export/home/cdavid/Tk-b11.02/pTk
>*** Error code 1
>make: Fatal error: Command failed for target `pTk/libpTk.a'
>www% ^D  
>script done on Thu May 30 13:11:22 1996
>===========end of enclosure================
>Several points.
>1) when it says:
>Warning (will try anyway): No library found for -lpt,
>should one stop and repair (?) this, or what?

perl/Tk and MakeMaker cooperate to list all the possible libraries
which might be needed on various platforms. As not all platforms
need all libraries you get above warning.

Quote:
>2) when it says:
>Following modules are required but not installed:
>URI::URL
>HTML::Parse
>Checking if your kit is complete...
>Looks good
>what looks good? If something is required and not there, how can it
>"look good"?

The "kit" is complete - i.e. you have all files in that part of perl/Tk
distribution.
What are missing are parts of libwww module which are used by "example"
application tkweb.

Quote:
>3)Finally, the compiling errors are scary, as well as fatal.

>Does all of the above mean that it is impossible to get this going?

Not at all. The 'easy' way would be to use gcc-2.7.2 (which works).
But I need to make this work with whichever Sun-cc is causing
the problem - so please :

A. Tell me which 'cc' you have
B. Try above tweak to .c file.

==========================================================================
This message was posted through the Stanford campus mailing list
server.  If you wish to unsubscribe from this mailing list, send the

--




Mon, 16 Nov 1998 03:00:00 GMT  
 Solaris 2.5 failure to make perl/Tk

Quote:

>Not at all. The 'easy' way would be to use gcc-2.7.2 (which works).
>But I need to make this work with whichever Sun-cc is causing
>the problem - so please :

>A. Tell me which 'cc' you have
>B. Try above tweak to .c file.

Can you also send me :

perl -V output.

Generated

Tk-b*/pTk/tkConfig.h

Sun define getopt() in both stdlib.h and stdio.h - between their
inclusion const has be #defined away.

Need to discover what is causing 'const' to be #defined to nothing...

==========================================================================
This message was posted through the Stanford campus mailing list
server.  If you wish to unsubscribe from this mailing list, send the

--




Mon, 16 Nov 1998 03:00:00 GMT  
 Solaris 2.5 failure to make perl/Tk

Since perl/Tk was developed on a Solaris platform, and the =
README.Solaris
implied there would be no trouble, I was amazed to see the following, =
which=20
I am enclosing.
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3Denclosure=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D

Script started on Thu May 30 13:05:44 1996
www% perl Makefile.PL=0D
perl is installed in /usr/local/lib/perl5/sun4-solaris/5.002 okay=0D
Generic gettimeofday()=0D
Using -L/usr/openwin/lib to find /usr/openwin/lib/libX11.so.4=0D
Using -I/usr/openwin/include to find /usr/openwin/include/X11/Xlib.h=0D
Writing Tk/Config.pm=0D
Writing pTk/tkConfig.h=0D
Checking if your kit is complete...=0D
Looks good=0D
Warning (will try anyway): No library found for -lpt=0D
Writing Makefile for Tk::Bitmap=0D
Writing Makefile for Tk::Canvas=0D
Writing Makefile for Tk::Contrib=0D
Writing Makefile for Tk::DragDrop=0D
Writing Makefile for Tk::Entry=0D
Writing Makefile for Tk::Ghostview=0D
Writing Makefile for Tk::HList=0D
Following modules are required but not installed:=0D
URI::URL=0D
HTML::Parse=0D
Checking if your kit is complete...=0D
Looks good=0D
Writing Makefile for Tk::HTML=0D
Writing Makefile for Tk::IO=0D
Writing Makefile for Tk::InputO=0D
Writing Makefile for Tk::Listbox=0D
Writing Makefile for Tk::Menu=0D
Writing Makefile for Tk::Menubutton=0D
Writing Makefile for Tk::Mwm=0D
Writing Makefile for Tk::NBFrame=0D
Writing Makefile for Tk::Photo=0D
Writing Makefile for Tk::xpm=0D
Writing Makefile for Tk::Pixmap=0D
Checking if your kit is complete...=0D
Looks good=0D
Writing Makefile for Tk::Pod=0D
Writing Makefile for Tk::Scale=0D
Writing Makefile for Tk::Scrollbar=0D
Writing Makefile for Tk::Text=0D
Writing Makefile for Tk::Xlib=0D
Checking if your kit is complete...=0D
Looks good=0D
Writing Makefile for Tk::demos=0D
Writing Makefile for Tk::doc=0D
Writing Makefile for Tk::pTk=0D
Writing Makefile for Tk=0D
www% make=0D
umask 0 && cp Tk/Config.pm blib/arch/Tk/Config.pm=0D
umask 0 && cp leak_util.h blib/arch/Tk/leak_util.h=0D
umask 0 && cp reghack.h blib/arch/Tk/reghack.h=0D
umask 0 && cp tkGlue.def blib/arch/Tk/tkGlue.def=0D
umask 0 && cp tkGlue.h blib/arch/Tk/tkGlue.h=0D
umask 0 && cp tkGlue.m blib/arch/Tk/tkGlue.m=0D
umask 0 && cp tkGlue.t blib/arch/Tk/tkGlue.t=0D
umask 0 && cp tkGlue_f.h blib/arch/Tk/tkGlue_f.h=0D
umask 0 && cp Tk.pm blib/lib/Tk.pm=0D
AutoSplitting Tk (./blib/lib/auto/Tk)=0D
umask 0 && cp Tk/After.pm blib/lib/Tk/After.pm=0D
umask 0 && cp Tk/Button.pm blib/lib/Tk/Button.pm=0D
AutoSplitting Tk::Button (./blib/lib/auto/Tk/Button)=0D
umask 0 && cp Tk/Checkbutton.pm blib/lib/Tk/Checkbutton.pm=0D
AutoSplitting Tk::Checkbutton (./blib/lib/auto/Tk/Checkbutton)=0D
umask 0 && cp Tk/Clipboard.pm blib/lib/Tk/Clipboard.pm=0D
umask 0 && cp Tk/ColorEdit.xpm blib/lib/Tk/ColorEdit.xpm=0D
umask 0 && cp Tk/ColorEditor.pm blib/lib/Tk/ColorEditor.pm=0D
umask 0 && cp Tk/Configure.pm blib/lib/Tk/Configure.pm=0D
umask 0 && cp Tk/Credits blib/lib/Tk/Credits=0D
umask 0 && cp Tk/Derived.pm blib/lib/Tk/Derived.pm=0D
umask 0 && cp Tk/Dialog.pm blib/lib/Tk/Dialog.pm=0D
umask 0 && cp Tk/English.pm blib/lib/Tk/English.pm=0D
umask 0 && cp Tk/ErrorDialog.pm blib/lib/Tk/ErrorDialog.pm=0D
umask 0 && cp Tk/FileSelect.pm blib/lib/Tk/FileSelect.pm=0D
umask 0 && cp Tk/Font.pm blib/lib/Tk/Font.pm=0D
umask 0 && cp Tk/Frame.pm blib/lib/Tk/Frame.pm=0D
AutoSplitting Tk::Frame (./blib/lib/auto/Tk/Frame)=0D
umask 0 && cp Tk/Image.pm blib/lib/Tk/Image.pm=0D
umask 0 && cp Tk/Internals.pod blib/lib/Tk/Internals.pod=0D
umask 0 && cp Tk/LabEntry.pm blib/lib/Tk/LabEntry.pm=0D
umask 0 && cp Tk/LabRadio.pm blib/lib/Tk/LabRadio.pm=0D
umask 0 && cp Tk/Label.pm blib/lib/Tk/Label.pm=0D
umask 0 && cp Tk/MMtry.pm blib/lib/Tk/MMtry.pm=0D
umask 0 && cp Tk/MMutil.pm blib/lib/Tk/MMutil.pm=0D
umask 0 && cp Tk/MainWindow.pm blib/lib/Tk/MainWindow.pm=0D
AutoSplitting MainWindow (./blib/lib/auto/MainWindow)=0D
umask 0 && cp Tk/Menubar.pm blib/lib/Tk/Menubar.pm=0D
umask 0 && cp Tk/Message.pm blib/lib/Tk/Message.pm=0D
AutoSplitting Tk::Message (./blib/lib/auto/Tk/Message)=0D
umask 0 && cp Tk/Optionmenu.pm blib/lib/Tk/Optionmenu.pm=0D
umask 0 && cp Tk/Pretty.pm blib/lib/Tk/Pretty.pm=0D
umask 0 && cp Tk/ROText.pm blib/lib/Tk/ROText.pm=0D
umask 0 && cp Tk/Radiobutton.pm blib/lib/Tk/Radiobutton.pm=0D
AutoSplitting Tk::Radiobutton (./blib/lib/auto/Tk/Radiobutton)=0D
umask 0 && cp Tk/Table.pm blib/lib/Tk/Table.pm=0D
AutoSplitting Tk::Table (./blib/lib/auto/Tk/Table)=0D
umask 0 && cp Tk/Tcl-perl.pod blib/lib/Tk/Tcl-perl.pod=0D
umask 0 && cp Tk/TextUndo.pm blib/lib/Tk/TextUndo.pm=0D
AutoSplitting Tk::TextUndo (./blib/lib/auto/Tk/TextUndo)=0D
umask 0 && cp Tk/Tiler.pm blib/lib/Tk/Tiler.pm=0D
umask 0 && cp Tk/Tk.xbm blib/lib/Tk/Tk.xbm=0D
umask 0 && cp Tk/Toplevel.pm blib/lib/Tk/Toplevel.pm=0D
AutoSplitting Tk::Toplevel (./blib/lib/auto/Tk/Toplevel)=0D
umask 0 && cp Tk/UserGuide.pod blib/lib/Tk/UserGuide.pod=0D
umask 0 && cp Tk/Widget.pm blib/lib/Tk/Widget.pm=0D
AutoSplitting Tk::Widget (./blib/lib/auto/Tk/Widget)=0D
umask 0 && cp Tk/Wm.pm blib/lib/Tk/Wm.pm=0D
umask 0 && cp Tk/Xcamel.gif blib/lib/Tk/Xcamel.gif=0D
umask 0 && cp Tk/icon.gif blib/lib/Tk/icon.gif=0D
umask 0 && cp Tk/license.terms blib/lib/Tk/license.terms=0D
umask 0 && cp Tk/pTk.pod blib/lib/Tk/pTk.pod=0D
umask 0 && cp Tk/prolog.ps blib/lib/Tk/prolog.ps=0D
umask 0 && cp Tk/typemap blib/lib/Tk/typemap=0D
umask 0 && cp Tk/win.xbm blib/lib/Tk/win.xbm=0D
umask 0 && cp blib.pm blib/lib/blib.pm=0D
cd pTk; make =0D
umask 0 && cp Lang.h ../blib/arch/Tk/pTk/Lang.h=0D
umask 0 && cp Lang.m ../blib/arch/Tk/pTk/Lang.m=0D
umask 0 && cp Lang.t ../blib/arch/Tk/pTk/Lang.t=0D
umask 0 && cp Lang_f.h ../blib/arch/Tk/pTk/Lang_f.h=0D
umask 0 && cp Xlib.h ../blib/arch/Tk/pTk/Xlib.h=0D
umask 0 && cp Xlib.m ../blib/arch/Tk/pTk/Xlib.m=0D
umask 0 && cp Xlib.t ../blib/arch/Tk/pTk/Xlib.t=0D
umask 0 && cp Xlib_f.h ../blib/arch/Tk/pTk/Xlib_f.h=0D
umask 0 && cp default.h ../blib/arch/Tk/pTk/default.h=0D
umask 0 && cp ks_names.h ../blib/arch/Tk/pTk/ks_names.h=0D
umask 0 && cp patchlevel.h ../blib/arch/Tk/pTk/patchlevel.h=0D
umask 0 && cp tclUnix.h ../blib/arch/Tk/pTk/tclUnix.h=0D
umask 0 && cp tix.h ../blib/arch/Tk/pTk/tix.h=0D
umask 0 && cp tix.m ../blib/arch/Tk/pTk/tix.m=0D
umask 0 && cp tix.t ../blib/arch/Tk/pTk/tix.t=0D
umask 0 && cp tixDefault.h ../blib/arch/Tk/pTk/tixDefault.h=0D
umask 0 && cp tixHList.h ../blib/arch/Tk/pTk/tixHList.h=0D
umask 0 && cp tixInt.h ../blib/arch/Tk/pTk/tixInt.h=0D
umask 0 && cp tixInt.m ../blib/arch/Tk/pTk/tixInt.m=0D
umask 0 && cp tixInt.t ../blib/arch/Tk/pTk/tixInt.t=0D
umask 0 && cp tixInt_f.h ../blib/arch/Tk/pTk/tixInt_f.h=0D
umask 0 && cp tix_f.h ../blib/arch/Tk/pTk/tix_f.h=0D
umask 0 && cp tk.h ../blib/arch/Tk/pTk/tk.h=0D
umask 0 && cp tk.m ../blib/arch/Tk/pTk/tk.m=0D
umask 0 && cp tk.t ../blib/arch/Tk/pTk/tk.t=0D
umask 0 && cp tkCanvas.h ../blib/arch/Tk/pTk/tkCanvas.h=0D
umask 0 && cp tkCanvases.h ../blib/arch/Tk/pTk/tkCanvases.h=0D
umask 0 && cp tkConfig.h ../blib/arch/Tk/pTk/tkConfig.h=0D
umask 0 && cp tkImgPhoto.h ../blib/arch/Tk/pTk/tkImgPhoto.h=0D
umask 0 && cp tkImgPhoto.m ../blib/arch/Tk/pTk/tkImgPhoto.m=0D
umask 0 && cp tkImgPhoto.t ../blib/arch/Tk/pTk/tkImgPhoto.t=0D
umask 0 && cp tkImgPhoto_f.h ../blib/arch/Tk/pTk/tkImgPhoto_f.h=0D
umask 0 && cp tkInt.h ../blib/arch/Tk/pTk/tkInt.h=0D
umask 0 && cp tkInt.m ../blib/arch/Tk/pTk/tkInt.m=0D
umask 0 && cp tkInt.t ../blib/arch/Tk/pTk/tkInt.t=0D
umask 0 && cp tkInt_f.h ../blib/arch/Tk/pTk/tkInt_f.h=0D
umask 0 && cp tkPort.h ../blib/arch/Tk/pTk/tkPort.h=0D
umask 0 && cp tkText.h ../blib/arch/Tk/pTk/tkText.h=0D
umask 0 && cp tkVMacro.h ../blib/arch/Tk/pTk/tkVMacro.h=0D
umask 0 && cp tk_f.h ../blib/arch/Tk/pTk/tk_f.h=0D
cc -c -I/usr/openwin/include -I. -O -DVERSION=3D\"b11\" =
-DXS_VERSION=3D\"b11\" -KPIC=20
-I/usr/local/lib/perl5/sun4-solaris/5.002/CORE -DBASEEXT=3D\"pTk\"  =
Lang_f.c=0D
cc -c -I/usr/openwin/include -I. -O -DVERSION=3D\"b11\" =
-DXS_VERSION=3D\"b11\" -KPIC=20
-I/usr/local/lib/perl5/sun4-solaris/5.002/CORE -DBASEEXT=3D\"pTk\"  =
Xlib_f.c=0D
cc -c -I/usr/openwin/include -I. -O -DVERSION=3D\"b11\" =
-DXS_VERSION=3D\"b11\" -KPIC=20
-I/usr/local/lib/perl5/sun4-solaris/5.002/CORE -DBASEEXT=3D\"pTk\"  =
tclHash.c=0D
cc -c -I/usr/openwin/include -I. -O -DVERSION=3D\"b11\" =
-DXS_VERSION=3D\"b11\" -KPIC=20
-I/usr/local/lib/perl5/sun4-solaris/5.002/CORE -DBASEEXT=3D\"pTk\"  =
tclUnixUtil.c=0D
cc -c -I/usr/openwin/include -I. -O -DVERSION=3D\"b11\" =
-DXS_VERSION=3D\"b11\" -KPIC=20
-I/usr/local/lib/perl5/sun4-solaris/5.002/CORE -DBASEEXT=3D\"pTk\"  =
tclUtil.c=0D
cc -c -I/usr/openwin/include -I. -O -DVERSION=3D\"b11\" =
-DXS_VERSION=3D\"b11\" -KPIC=20
-I/usr/local/lib/perl5/sun4-solaris/5.002/CORE -DBASEEXT=3D\"pTk\"  =
tixDItem.c=0D
cc -c -I/usr/openwin/include -I. -O -DVERSION=3D\"b11\" =
-DXS_VERSION=3D\"b11\" -KPIC=20
-I/usr/local/lib/perl5/sun4-solaris/5.002/CORE -DBASEEXT=3D\"pTk\"  =
tixDiImgTxt.c=0D
cc -c -I/usr/openwin/include -I. -O -DVERSION=3D\"b11\" =
-DXS_VERSION=3D\"b11\" -KPIC=20
-I/usr/local/lib/perl5/sun4-solaris/5.002/CORE -DBASEEXT=3D\"pTk\"  =
tixDiStyle.c=0D
cc -c -I/usr/openwin/include -I. -O -DVERSION=3D\"b11\" =
-DXS_VERSION=3D\"b11\" -KPIC=20
-I/usr/local/lib/perl5/sun4-solaris/5.002/CORE -DBASEEXT=3D\"pTk\"  =
tixDiText.c=0D
cc -c -I/usr/openwin/include -I. -O -DVERSION=3D\"b11\" =
-DXS_VERSION=3D\"b11\" -KPIC=20
-I/usr/local/lib/perl5/sun4-solaris/5.002/CORE -DBASEEXT=3D\"pTk\"  =
tixDiWin.c=0D
cc -c -I/usr/openwin/include -I. -O -DVERSION=3D\"b11\" =
-DXS_VERSION=3D\"b11\" -KPIC=20
-I/usr/local/lib/perl5/sun4-solaris/5.002/CORE -DBASEEXT=3D\"pTk\"  =
tixError.c=0D
cc -c -I/usr/openwin/include -I. -O -DVERSION=3D\"b11\" =
-DXS_VERSION=3D\"b11\" -KPIC=20
-I/usr/local/lib/perl5/sun4-solaris/5.002/CORE -DBASEEXT=3D\"pTk\"  =
tixHLCol.c=0D
cc -c -I/usr/openwin/include -I. -O -DVERSION=3D\"b11\" =
-DXS_VERSION=3D\"b11\" -KPIC=20
-I/usr/local/lib/perl5/sun4-solaris/5.002/CORE -DBASEEXT=3D\"pTk\"  =
tixHList.c=0D
"tixHList.c", line 3527: warning: statement not reached=0D
cc ...

read more »



Mon, 16 Nov 1998 03:00:00 GMT  
 Solaris 2.5 failure to make perl/Tk

carl david writes on 30-MAY-1996 14:36:31.29:

Quote:
>Since perl/Tk was developed on a Solaris platform, and the =
>README.Solaris
>implied there would be no trouble, I was amazed to see the following, =
>which=20
>I am enclosing.

Part of what you have posted does look surprising to me - but I am not a
Solaris expert - perhaps there are Solaris experts on this list who will be
able to assist you with the compile problem. I would like to respond to a
couple of the questions you raise:

<...long make log snipped..>

This does look bad to me:

Quote:
>cc -c -I/usr/openwin/include -I. -O -DVERSION=3D\"b11\" =
>-DXS_VERSION=3D\"b11\" -KPIC=20
>-I/usr/local/lib/perl5/sun4-solaris/5.002/CORE -DBASEEXT=3D\"pTk\"  =
>tkCanvArc.c=0D
>"/usr/include/stdlib.h", line 148: identifier redeclared: getopt=0D
>    current : function(int, pointer to pointer to char, pointer to char)=20
>returning int=0D
>    previous: function(int, pointer to const pointer to char, pointer to=20
>const char) returning int : "/usr/include/stdio.h", line 242=0D
>"/usr/include/stdlib.h", line 149: identifier redeclared: getsubopt=0D
>    current : function(pointer to pointer to char, pointer to pointer to=20
>char, pointer to pointer to char) returning int=0D
>    previous: function(pointer to pointer to char, pointer to const pointer =
>=20
>to char, pointer to pointer to char) returning int : =
>"/usr/include/stdio.h",=20
>line 244=0D
>"/usr/include/unistd.h", line 230: identifier redeclared: rename=0D
>    current : function(pointer to char, pointer to char) returning int=0D
>    previous: function(pointer to const char, pointer to const char)=20
>returning int : "/usr/include/stdio.h", line 148=0D
>cc: acomp failed for tkCanvArc.c=0D
>*** Error code 2=0D
>make: Fatal error: Command failed for target `tkCanvArc.o'=0D
>Current working directory /export/home/cdavid/Tk-b11.02/pTk=0D
>*** Error code 1=0D
>make: Fatal error: Command failed for target `pTk/libpTk.a'=0D
>www% ^D=08=08
>script done on Thu May 30 13:11:22 1996
>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3Dend of enclosure=3D=3D=3D=3D=3D=3D=3D=3D=
>=3D=3D=3D=3D=3D=3D=3D=3D
>Several points.
>1) when it says:
>Warning (will try anyway): No library found for -lpt,
>should one stop and repair (?) this, or what?

To the best of my knowledge this can be safely ignored (there may eventually be
an error message of the
"Warning (will try anyway): No library found for -ldnet,"
form and this one need not concern you either_
On some systems saying:

 cc <stuff> -lpt <progname>

is necessary - on your system it is not necessary to inlcude the -lpt but it
should cause no harm either.

Quote:
>2) when it says:
>Following modules are required but not installed:=0D
>URI::URL=0D
>HTML::Parse=0D
>Checking if your kit is complete...=0D
>Looks good=0D
>what looks good? If something is required and not there, how can it
>"look good"?

URI::URL and HTML::Parse are two _other_ perl5 extension modules - they are
used by Perl/Tk programs like "tkweb" the perl/tk web browser. To the best of
my knowledge you do not need them for scripts that "use Tk;" only.
When MakeMaker reports:

 Checking if your kit is complete...
 Looks good

That means that it has gone through your perl build directory and found
everything in the Tk-b11.02/MANIFEST file - that file itself is nothing more
than a list of everything that is supposed to be in Tk-b11.02/...et al.

In order to install URI::URL and HTML::Parse (as well as a few others)
I consulted the document on the web at:

   http://w4.lns.cornell.edu/~pvhp/ptk/cpan.html

And it says:

 o The build of Tk-b10(++) requires URI::URL and HTML::Parse
   these are part of the libwww-perl-*.tar.gz kit, available
   from the authors/id/GAAS/ directory at any site listed below.
   libwww-perl-*.tar.gz in turn requires
   NET-FTP-*.tar.gz, available from the
   authors/id/GBARR/ directory at any CPAN ftp site.

 o To run the ptknews script you will need Mail/Internet.pm
   from the Mailtools module kit, available from the
   authors/id/GBARR/ directory at any CPAN ftp site (listed
   below).

So visit CPAN near you and rummage around.

Quote:
>3)Finally, the compiling errors are scary, as well as fatal.

There are indeed - I am sorry to say I cannot figure out what is wrong.
I am fairly confident that it has nothing to do with your missing modules or
your attempted link to a (non-existent-on-your-system) library.

Ooh - Nick just mentioned:
"Need to discover what is causing 'const' to be #defined to nothing..."
hmm...

Peter Prymmer

==========================================================================
This message was posted through the Stanford campus mailing list
server.  If you wish to unsubscribe from this mailing list, send the

--




Mon, 16 Nov 1998 03:00:00 GMT  
 Solaris 2.5 failure to make perl/Tk

|> carl david writes on 30-MAY-1996 14:36:31.29:
|>
|> >Since perl/Tk was developed on a Solaris platform, and the =
|> >README.Solaris
|> >implied there would be no trouble, I was amazed to see the following, =
|> >which=20
|> >I am enclosing.
|>
|> Part of what you have posted does look surprising to me - but I am not a
|> Solaris expert - perhaps there are Solaris experts on this list who will be
|> able to assist you with the compile problem. I would like to respond to a
|> couple of the questions you raise:
|>

|> >Warning (will try anyway): No library found for -lpt,
|> >should one stop and repair (?) this, or what?
|>

Well, not a Solaris expert here, but I got it to build on 2.5.  I used gcc
2.7.2 for perl and Tk with good results.  The only "non-standard" thing I
had to do was rebuild perl and add the -lthread to the EXTRALIBS part (along
with -lsocket -lnsl etc.) or else the make test failed with a rmutex message.

The only lib file I can think -lpt might even be trying to reference is
/usr/lib/libpthread.so which is POSIX threads where the name somehow got
truncated.

Hope these guesses are of some help, but I doubt they're relavant.

Murf

--

345 Scarborough Road
Briarcliff Manor, NY 10510    One one-trillionith of a surprise: picoboo
(914)945-6216                 millihellen: The beauty needed to launch 1 ship



Sat, 21 Nov 1998 03:00:00 GMT  
 
 [ 5 post ] 

 Relevant Pages 

1. Tk-b10 - perl5.002 and Solaris 2.5

2. can't build Tk-b9.01 on Solaris 2.5

3. Tk-b11.02 on Solaris 2.5?

4. Trouble installing libnet and libwww-perl on Solaris 2.5

5. Problems using chat2.pl under Solaris 2.5, perl 5.003

6. HELP : Installing Perl in Solaris 2.5

7. Perl Installation errors on Solaris 2.5 system

8. Trouble compiling perl on Solaris 2.5

9. Precompiled perl for solaris 2.5?

10. Perl executable version for x86 solaris 2.5

11. Perl 5.004 binary for Solaris 2.5

12. Perl 5.004 binary for Solaris 2.5

 

 
Powered by phpBB® Forum Software