develooper Front page | perl.perl5.porters | Postings from September 2006

[perl #40403] perl-5.8.8 configured with Dusethreads -Duseithreads make compiling jpl/PerlInterpreter fails

From:
sakina suliman
Date:
September 22, 2006 17:04
Subject:
[perl #40403] perl-5.8.8 configured with Dusethreads -Duseithreads make compiling jpl/PerlInterpreter fails
Message ID:
rt-3.5.HEAD-31263-1158965063-493.40403-75-0@perl.org
# New Ticket Created by  sakina suliman 
# Please include the string:  [perl #40403]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=40403 >


Hi,

While working with perl-5.8.8 I encountered
thefollowing problem:



If I configure and compile, install perl-5.8.8 
Dusethreads -Duseithreads then,  compiling
jpl/PerlInterpreter fails with the following errors:

gcc -fpic -Wl,-E
-Wl,-rpath,/opt/stow/perl-5.8.8/lib/5.8.8/i686-linux-thread-multi/CORE
-shared -L/usr/local/lib -Dbool=char
-I/opt/stow/perl-5.8.8/lib/5.8.8/i686-linux-thread-multi/CORE
-I/usr/java/jdk1.5.0_07/include
-I/usr/java/jdk1.5.0_07/include/linux
-I/usr/java/jdk1.5.0_07/include/genunix
PerlInterpreter.c \
/opt/stow/perl-5.8.8/lib/5.8.8/i686-linux-thread-multi/auto/DynaLoader/DynaLoader.a
\
-lc -lm -ldl \
-o libPerlInterpreter.so
In file included from
/opt/stow/perl-5.8.8/lib/5.8.8/i686-linux-thread-multi/CORE/op.h:497,
                 from
/opt/stow/perl-5.8.8/lib/5.8.8/i686-linux-thread-multi/CORE/perl.h:2754,
                 from PerlInterpreter.c:9:
/opt/stow/perl-5.8.8/lib/5.8.8/i686-linux-thread-multi/CORE/reentr.h:612:
field `_crypt_struct' has incomplete type
In file included from
/opt/stow/perl-5.8.8/lib/5.8.8/i686-linux-thread-multi/CORE/perl.h:3950,
                 from PerlInterpreter.c:9:
/opt/stow/perl-5.8.8/lib/5.8.8/i686-linux-thread-multi/CORE/proto.h:297:
syntax error before "off64_t"
/opt/stow/perl-5.8.8/lib/5.8.8/i686-linux-thread-multi/CORE/proto.h:299:
syntax error before "Perl_do_sysseek"
/opt/stow/perl-5.8.8/lib/5.8.8/i686-linux-thread-multi/CORE/proto.h:299:
syntax error before "off64_t"
                                                      
                                                    



Re-configuring with threads and ithreads as undef
options made the jpl/PerlInterpreter
compiling/installing successfull.




Please let me know of any comments or feedbacks.



thanks,
sakina




__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 




nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About