develooper Front page | perl.perl5.porters | Postings from March 2000

Problem with perlcc

From:
Ruud Huynen
Date:
March 10, 2000 00:43
Subject:
Problem with perlcc
Message ID:
s8c8c389.040@gh03.clariden.com
I reported this message yesterday to per5-porters-help/faq, but didn't receive a reply of my own message
so I try today on this list and hope for some help.

I use Perl 5.005.002 on Solaris 2.7
Perlcc gives the following output:

perlcc cbaaa.pl

--------------------------------------------------------------------------------
Compiling cbaaa.pl:
--------------------------------------------------------------------------------
Making C(cbaaa.pl.c) for cbaaa.pl!
/usr/local/bin/perl -I/usr/local/lib/perl5/5.00502/sun4-solaris -I/usr/local/lib
/perl5/5.00502 -I/usr/local/lib/perl5/site_perl/5.005/sun4-solaris -I/usr/local/
lib/perl5/site_perl/5.005 -I. -MO=CC,-ocbaaa.pl.c cbaaa.pl
cbaaa.pl syntax OK
substcont: op = LOGOP (0x47ff60) pp_substcont, pmop = PMOP (0x4766c0) pp_subst
pmopsym = (OP*)&pmop_list[2]
substcont: op = LOGOP (0x4853c0) pp_substcont, pmop = PMOP (0x481c40) pp_subst
pmopsym = (OP*)&pmop_list[6]
substcont: op = LOGOP (0x2f5f40) pp_substcont, pmop = PMOP (0x2de2c0) pp_subst
pmopsym = (OP*)&pmop_list[25]

I get these lines and perlcc keeps running.



The start of the program looks like:

use DBI;                                                # Perl-Module for connecting to the Oracle
use DBD::Oracle qw(:ora_types); # Explicit use for Cursors
use Net::LDAP;                                  # Perl-Module LDAP
use Net::LDAP::Util qw(ldap_error_name ldap_error_text);        # Explicit needed for LDAP
use MIME::QuotedPrint;
use MIME::Base64;
use Mail::Sendmail;

require "flush.pl"; 
require "ctime.pl";  


Can somebody help what is wrong or give me a hint to look for problems.

Compiling a small program works.
The source is appended. When started it should print HTML output.


The perl -V output look like:

Summary of my perl5 (5.0 patchlevel 5 subversion 2) configuration:
  Platform:
    osname=solaris, osvers=2.7, archname=sun4-solaris
    uname='sunos 5.7 s998_18 sun4u sparc sunw,ultra-1 '
    hint=previous, useposix=true, d_sigaction=define
    usethreads=undef useperlio=undef d_sfio=undef
  Compiler:
    cc='gcc', optimize='-O', gccversion=2.8.1
    cppflags='-I/usr/local/include'
    ccflags ='-I/usr/local/include'
    stdchar='char', d_stdstdio=define, usevfork=false
    intsize=4, longsize=4, ptrsize=4, doublesize=8
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
    alignbytes=8, usemymalloc=y, prototype=define
  Linker and Libraries:
    ld='gcc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib
    libs=-lsocket -lnsl -lgdbm -ldl -lm -lc -lcrypt
    libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
    cccdlflags='-fPIC', lddlflags='-G -L/usr/local/lib'

Characteristics of this binary (from libperl):
  Built under solaris
  Compiled at Oct 24 1998 01:11:27
  @INC:
    /usr/local/lib/perl5/5.00502/sun4-solaris
    /usr/local/lib/perl5/5.00502
    /usr/local/lib/perl5/site_perl/5.005/sun4-solaris
    /usr/local/lib/perl5/site_perl/5.005
    .


Regards
Ruud Huynen








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