Problems Building TkPerl 
Author Message
 Problems Building TkPerl

I'm trying to build Perl5.00 (with the a-h patches) with Tk extensions
on my Linux box currently running kernel 1.1.52, and gcc 2.5.8.

First off, ext/util/make_ext appears to have extranneous double quote
marks on lines 37 and 38, which look like this:

tailext=`echo "$extspec" | sed -e 's:.*/\([^/]*\)$:\1:'"`
headext=`echo "$extspec" | sed -e 's:/[^/]*$::'"`

Bash gives me:

bash: unexpected EOF while looking for `"'
bash: command substitution: line 2: syntax error

when dealing with those lines.  I've changed them to:

tailext=`echo "$extspec" | sed -e 's:.*/\([^/]*\)$:\1:'`
headext=`echo "$extspec" | sed -e 's:/[^/]*$::'`

(simply removed the " from between the last two '` characters.

My next problem deals with make being unable to create the target
../../ext/typemap (from within the directory perl5.00/ext/Tk).  There
does exist a file "typemap" in perl5.00/ext/Tk, but it is in the Tk
directory, not the ext directory as the makefile would like.  Anyway, if
I cp the file to ext/typemap, then it bails on a similar error:

Can't open perl script "../../ext/xsubpp": No such file or directory

Again, I cp'd the file perl5.00/lib/ExtUtils/xsubpp to perl5.00/ext, and
then get another problem dealing with the typemaps.....

/sd/perl5.000/miniperl ../../ext/xsubpp tkpProxy.xs > tmp
char * not in typemap at ../../ext/xsubpp line 465, <F> line 72.
char * not in typemap at ../../ext/xsubpp line 465, <F> line 72.
Proxy::Tk not in typemap at ../../ext/xsubpp line 465, <F> line 72.
Proxy::Tk not in typemap at ../../ext/xsubpp line 465, <F> line 87.
SV * not in typemap at ../../ext/xsubpp line 465, <F> line 87.
Proxy::Tk not in typemap at ../../ext/xsubpp line 465, <F> line 95.
Proxy::Tk not in typemap at ../../ext/xsubpp line 465, <F> line 100.
char * not in typemap at ../../ext/xsubpp line 465, <F> line 100.
Proxy::Tk not in typemap at ../../ext/xsubpp line 465, <F> line 100.
char * not in typemap at ../../ext/xsubpp line 465, <F> line 111.
make: *** [tkpProxy.c] Error 10

??? Anybody successfully install TkPerl for linux, or know how I can fix the
typemap problem (or know if I'm doing something else wrong)?

Thanks for any help!
------------------------------------------------------------------------
Greg J. Badros                                  Box 96968

Duke University                                 (919) 613-0783
<A HREF=" http://www.*-*-*.com/ ~gregbadr">Web</A>



Thu, 10 Jul 1997 14:28:13 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Building Tkperl

2. Help building tkperl on BSDI

3. Building tkperl ( solaris 2.3 )

4. Undefined symbol building tkperl 0.023

5. Building tkperl on dgux 3.10

6. Building tkperl on dgux 3.10

7. Tkperl builds but won't execute

8. building tkperl (static linking)

9. Perl build problem/re-install advice (Solaris build)

10. tkperl: problem with insert in foreach loop

11. Problem with tkperl on Solaris 2.3 - symbol not found: __floatdid

12. problems with tkperl and perl 5

 

 
Powered by phpBB® Forum Software