Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stdarg.h / Problem #106

p5pRT opened this issue Jun 23, 1999 · 1 comment

stdarg.h / Problem #106

p5pRT opened this issue Jun 23, 1999 · 1 comment


Copy link

p5pRT commented Jun 23, 1999

Migrated from (status was 'resolved')

Searchable as RT910$

Copy link

p5pRT commented Jun 23, 1999


After successfull installation of perl I tried to run the
following script​:

use Sys​::Syslog;

which gave me the following error

Can't locate in @​INC (did you run h2ph?) (@​INC contains​:
/usr/lib/perl5/5.00503/i586-linux /usr/lib/perl5/5.00503
/usr/lib/perl5/site_perl/5.005/i586-linux /usr/lib/perl5/site_perl/5.005
.) at /usr/lib/perl5/site_perl/5.005/i586-linux/sys/ line 76.
BEGIN failed--compilation aborted at line 2.

Well, I did run h2ph!! And there was still now in my
filesystem (find / -xdev -name

After checking in some news groups I found the following sollution
for me​:

Foo​:/root # locate stdarg.h
Foo​:/root # cd /usr/lib/gcc-lib/i486-linux/
Foo​:/usr/lib/gcc-lib/i486-linux/ # h2ph stdarg.h

Which build me the missing
Then I had to make some changes in the​:

unless(defined(&_STDARG_H)) {
  unless(defined(&_ANSI_STDARG_H_)) {
# unless(defined(&__need___va_list)) {
  eval 'sub _STDARG_H () {1;}' unless defined(&_STDARG_H);
  eval 'sub _ANSI_STDARG_H_ () {1;}' unless defined(&_ANSI_STDARG_H_);
# }
# undef(&__need___va_list) if defined(&__need___va_list);
  if(defined(&__clipper__)) {

Now it work for me!!

Perl Info

Site configuration information for perl 5.00503:

Configured by root at Mon Jun 21 20:01:45 CEST 1999.

Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration:
    osname=linux, osvers=2.0.35, archname=i586-linux
    uname='linux foo 2.0.35 #1 mon oct 12 22:43:48 cest 1998 i586 unknown '
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef useperlio=undef d_sfio=undef
    cc='cc', optimize='-O2', gccversion=
    cppflags='-Dbool=char -DHAS_BOOL -I/usr/local/include'
    ccflags ='-Dbool=char -DHAS_BOOL -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=12
    alignbytes=4, usemymalloc=y, prototype=define
  Linker and Libraries:
    ld='cc', ldflags ='-L/usr/local/lib -L/lib -L/usr/lib'
    libpth=/usr/local/lib /lib /usr/lib
    libs=-lgdbm -ldb -ldl -lm -lc
    libc=/lib/, so=so, useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
    cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib -L/lib -L/usr/lib'

Locally applied patches:

@INC for perl 5.00503:

Environment for perl 5.00503:
    LANG (unset)
    LANGUAGE (unset)
    LD_LIBRARY_PATH (unset)
    LOGDIR (unset)
    PERL_BADLANG (unset)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet

No branches or pull requests

1 participant