HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Errors compiling PerlTk
Operating System - Linux
1830241
Members
2851
Online
109999
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2006 09:34 PM
10-03-2006 09:34 PM
Errors compiling PerlTk
Hi Guys,
When I try to compile perltk, I get the following errors:
# /usr/local/bin/perl Makefile.PL X11INC=/usr/include
/usr/local/bin/perl is installed in /usr/local/lib/perl5/5.8.7/PA-RISC2.0 okay
PPM for perl5.008007
Test Compiling config/signedchar.c
Test Compile/Run config/unsigned.c
Test Compiling config/Ksprintf.c
Test Compiling -DSPRINTF_RETURN_CHAR config/Ksprintf.c
Test Compiling config/tod.c
Test Compiling -DTIMEOFDAY_TZ config/tod.c
Test Compiling -DTIMEOFDAY_NO_TZ config/tod.c
Test Compiling -DTIMEOFDAY_DOTS config/tod.c
Problem gettimeofday()
Using -L/usr/lib/X11R6 to find /usr/lib/X11R6/libX11.3
Cannot find X include files via /include
Cannot find X include files anywhere at ./myConfig line 332.
Compilation failed in require at Makefile.PL line 36.
BEGIN failed--compilation aborted at Makefile.PL line 38.
#
Ok, so I can see that it's looking for some X include files, but I don't know what these files are called and where they can be found. I know that I can use the X11=, X11INC= and X11LIB= command line switches, but I don't know what values to give them.
Any help would be greatly appreciated.
Thanks,
Gary
When I try to compile perltk, I get the following errors:
# /usr/local/bin/perl Makefile.PL X11INC=/usr/include
/usr/local/bin/perl is installed in /usr/local/lib/perl5/5.8.7/PA-RISC2.0 okay
PPM for perl5.008007
Test Compiling config/signedchar.c
Test Compile/Run config/unsigned.c
Test Compiling config/Ksprintf.c
Test Compiling -DSPRINTF_RETURN_CHAR config/Ksprintf.c
Test Compiling config/tod.c
Test Compiling -DTIMEOFDAY_TZ config/tod.c
Test Compiling -DTIMEOFDAY_NO_TZ config/tod.c
Test Compiling -DTIMEOFDAY_DOTS config/tod.c
Problem gettimeofday()
Using -L/usr/lib/X11R6 to find /usr/lib/X11R6/libX11.3
Cannot find X include files via /include
Cannot find X include files anywhere at ./myConfig line 332.
Compilation failed in require at Makefile.PL line 36.
BEGIN failed--compilation aborted at Makefile.PL line 38.
#
Ok, so I can see that it's looking for some X include files, but I don't know what these files are called and where they can be found. I know that I can use the X11=, X11INC= and X11LIB= command line switches, but I don't know what values to give them.
Any help would be greatly appreciated.
Thanks,
Gary
- Tags:
- Perl
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2006 12:14 AM
10-04-2006 12:14 AM
Re: Errors compiling PerlTk
I know nothing, but the header files here
seem to be in "/usr/include/X11R6/X11", so
I'd try "X11INC=/usr/include/X11R6/X11", or
variations on that.
Wasn't it clever enough to try that itself
when you didn't specify any "X11INC=xxx"?
seem to be in "/usr/include/X11R6/X11", so
I'd try "X11INC=/usr/include/X11R6/X11", or
variations on that.
Wasn't it clever enough to try that itself
when you didn't specify any "X11INC=xxx"?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2006 03:17 AM
10-04-2006 03:17 AM
Re: Errors compiling PerlTk
Hi Steven,
Under /usr/include, I didn't have a /usr/include/X11R6 directory. I only had a /usr/include/X11 directory and all that had in it is a directory called bitmaps.
Doing a bit of digging and it would appear that the /usr/include/X11R6 directory is part of the HP-UX Developers Toolkit which I've now installed. The "Cannot find X include files" error and now been substituted by another error which I'm investigating at the moment.
I'll get back when I've got more to report.
Regards,
Gary
Under /usr/include, I didn't have a /usr/include/X11R6 directory. I only had a /usr/include/X11 directory and all that had in it is a directory called bitmaps.
Doing a bit of digging and it would appear that the /usr/include/X11R6 directory is part of the HP-UX Developers Toolkit which I've now installed. The "Cannot find X include files" error and now been substituted by another error which I'm investigating at the moment.
I'll get back when I've got more to report.
Regards,
Gary
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2006 02:15 AM
10-10-2006 02:15 AM
Re: Errors compiling PerlTk
Boy, this is like pulling teeth!!!
I'm inching forward, but am finding lots of errors - include files missing, include files in the wrong place, calls to routines with different numbers of parameters... etc., etc.
I can't understand these people who rave on about Open Source!
Cheers,
Gary
I'm inching forward, but am finding lots of errors - include files missing, include files in the wrong place, calls to routines with different numbers of parameters... etc., etc.
I can't understand these people who rave on about Open Source!
Cheers,
Gary
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP