Building tkperl ( solaris 2.3 ) 
Author Message
 Building tkperl ( solaris 2.3 )

I have encountered a problem with building tkperl5alpha3 on Solaris2.3 using
SunPro's cc :

%make

cc -g -DDEBUGGING -DHAVE_UNISTD_H -DSTATIC= -I.. \
    -I/local/scratch/tk/tk3.6/ \
    -I/local/scratch/tk/tcl7.3/  -c  tkpButton.c

"/usr/include/X11/Xmd.h", line 67: warning: comment is replaced by "##"
"./tkperl.h", line 32: warning: syntax requires ";" after last struct/union member
"./tkperl.h", line 32: syntax error before or at: P
"./tkperl.h", line 32: cannot recover from previous errors
cc: acomp failed for tkpButton.c
*** Error code 1
make: Fatal error: Command failed for target `tkpButton.o'

I'd appreciate any help with this.  

Leif.

==================================================================
  Leif Jantzen                /*  Systems Consultant            */
  Sysdeco Innovation          /*  Mapping Tools and GIS Systems */
==================================================================
  Sysdeco Innovation          /*  Voice:    (+47) 32 73 66 00   */
  P.O. Box 433                /*  Telefax:  (+47) 32 73 68 24   */

  NORWAY            
==================================================================



Sat, 11 Jan 1997 18:23:59 GMT  
 Building tkperl ( solaris 2.3 )

Leif> I have encountered a problem with building tkperl5alpha3 on
Leif> Solaris2.3 using SunPro's cc :

Leif> cc -g -DDEBUGGING -DHAVE_UNISTD_H -DSTATIC= -I.. \
Leif> -I/local/scratch/tk/tk3.6/ \ -I/local/scratch/tk/tcl7.3/ -c
Leif> tkpButton.c

Leif> "/usr/include/X11/Xmd.h", line 67: warning: comment is replaced by "##"
Leif> "./tkperl.h", line 32: warning: syntax requires ";" after last struct/union member
Leif> "./tkperl.h", line 32: syntax error before or at: P
Leif> "./tkperl.h", line 32: cannot recover from previous errors
Leif> cc: acomp failed for tkpButton.c
Leif> *** Error code 1
Leif> make: Fatal error: Command failed for target `tkpButton.o'

I think the problem is that you haven't changed the prototype
definition in tkperl.h from P(...) to _(...) which is the new
perl5a11... standard.  You also have to change extproto.h as well.

That should do the trick, let me know if you still have problems.

John



Sun, 12 Jan 1997 00:41:45 GMT  
 
 [ 2 post ] 

 Relevant Pages 

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

2. ?: Compiling tkperl into Perl5 under Solaris 2.3

3. Looking for TkPerl for Solaris 2.3

4. Building oraperl on Solaris 2.3 for Oracle 7.13

5. Perl 4a12e Solaris 2.3 build Qs

6. AAARRRGGGHHH!! How to build PERL for Solaris 2.3

7. 5.001 build under solaris 2.3

8. Trying to build on Solaris 2.3

9. perl 5.0 on Solaris 2.3 build problem

10. Building perl5a7 on SOL 2.3 w/Sun Compiler

11. HTML call to 5a2 perl on Solaris 2.3 fails

12. syslog.pl in perl5.000 and Solaris 2.3

 

 
Powered by phpBB® Forum Software