LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 08-06-2003, 04:57 AM   #1
Gantrep
Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 78

Rep: Reputation: 15
Perl not compiling


I downloaded the latest stable.tar.gz, configured with:

sh Configure -des -Dusethreads -Duse5005threads

just fine, tried to make but the make failed with
make: *** [perlapi.o] Error 1

and many lines like
intrpvar.h:523: structure has no member named `Isort_RealCmp'

All complaining about not finding various members in the intrpvar.h struct.

I believe that my problem is the same as described here and here but there seem to be no helpful followups to these messages. To the second thread, somebody did respond with essentially "are you sure you did a make clean beforehand?" But of course I did.

What could be the problem/what else can I try?
 
Old 08-06-2003, 05:14 AM   #2
Gantrep
Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 78

Original Poster
Rep: Reputation: 15
ALSO

I do have Perl 5.8.0 already installed, but I'm trying to get mod_perl for apache working, and its documentation in docs/user/install/install.pod says:

Quote:
You don't need to have threads-support enabled in Perl. If you do have
it, it B<must> be I<ithreads> and not I<5005threads>! If you have:

% perl5.8.0 -V:use5005threads
use5005threads='define'; Ok this isn't defined in mine, cool I think.

you must rebuild Perl without threads enabled or with
C<-Dusethreads>. Remember that threads-support slows things down and
on some platforms it's unstable (e.g., FreeBSD), so don't enable it
unless you really need it.

=item threaded MPMs

Require at least Perl version 5.8.0 with ithreads support
built-in. That means that it should report:

% perl5.8.0 -V:useithreads -V:usemultiplicity
useithreads='define';Neither are these.
usemultiplicity='define';

If that's not what you see rebuild Perl with C<-Dusethreads>.
Now that I look at that again, it seems like it's saying no threads are cool, and ithreads are cool, but not
5005threads. And it seems like I have no threads, so maybe I don't need to recompile perl after all. I'll assume multiplicity isn't necessary either?

I'm having problems with mod_perl and that is why I'm trying to recompile that. If the issue is mod_perl and not Perl itself, I'll start a new thread after banging my head against that for a while.
 
  


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
perl compiling error...... apenguinlinux Programming 5 01-24-2005 04:14 PM
compiling perl with c options fobius Slackware 1 10-06-2004 09:05 PM
Need help compiling mod perl with apache2 unixmad Linux - Software 0 08-25-2004 06:34 AM
Compiling Perl? Inexactitude Programming 3 04-15-2004 05:01 PM
Compiling perl? davstin2002 Programming 1 01-22-2004 04:07 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 06:09 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