Re: What is test.o?

2001-09-13 Thread Gary Benson

On Wed, 12 Sep 2001, Doug MacEachern wrote:

 On Wed, 12 Sep 2001, Gary Benson wrote:

  The makefile itself makes the directory, and puts a .exists file in it,
  but I don't know what it is trying to to do it or why. I've attached my
  makefile if you want to compare, or if you send me yours then I'll compare
  it instead...

 looks like there's a mod_random_chunk.c in your perl-framework/ directory?

Yes, it's the one I made the other day. I moved it out of its own
directory so it didn't get nailed when I ran cvs update.

Well, I moved it and it works properly now. I hope that you didn't spend
too much time on it :-/

Cheers,
Gary

[ Gary Benson, Red Hat Europe ][ [EMAIL PROTECTED] ][ GnuPG 85A8F78B ]



Re: What is test.o?

2001-09-12 Thread Doug MacEachern
On Wed, 12 Sep 2001, Gary Benson wrote:

 rm -f blib/arch/auto/httpd-test/test.so
 LD_RUN_PATH= gcc  -shared  test.o  -o blib/arch/auto/httpd-test/test.so
 gcc: test.o: No such file or directory
 gcc: No input files
 make: *** [blib/arch/auto/httpd-test/test.so] Error 1

not seeing that here.  do you have a test.c or test.xs file in that
directory by chance?  actually, why is there any httpd-test directory
relative to perl-framework at all?

 



Re: What is test.o?

2001-09-12 Thread Gary Benson

On Wed, 12 Sep 2001, Doug MacEachern wrote:

 On Wed, 12 Sep 2001, Gary Benson wrote:

  rm -f blib/arch/auto/httpd-test/test.so
  LD_RUN_PATH= gcc  -shared  test.o  -o blib/arch/auto/httpd-test/test.so
  gcc: test.o: No such file or directory
  gcc: No input files
  make: *** [blib/arch/auto/httpd-test/test.so] Error 1

 not seeing that here.  do you have a test.c or test.xs file in that
 directory by chance?  actually, why is there any httpd-test directory
 relative to perl-framework at all?

The makefile itself makes the directory, and puts a .exists file in it,
but I don't know what it is trying to to do it or why. I've attached my
makefile if you want to compare, or if you send me yours then I'll compare
it instead...

Gary
# This Makefile is for the httpd-test extension to perl.
#
# It was generated automatically by MakeMaker version
# 5.45 (Revision: 1.222) from the contents of
# Makefile.PL. Don't edit this file, edit Makefile.PL instead.
#
#   ANY CHANGES MADE HERE WILL BE LOST!
#
#   MakeMaker ARGV: ()
#
#   MakeMaker Parameters:

#   NAME = q[httpd-test]
#   VERSION = q[0.01]
#   clean = { FILES=q[./t/htdocs/modules/rewrite/db.pl 
./t/htdocs/modules/rewrite/numbers.pl ./t/htdocs/modules/rewrite/numbers2.pl 
./t/htdocs/modules/cgi/bogus-perl.pl ./t/htdocs/modules/cgi/bogus1k.pl 
./t/htdocs/modules/cgi/env.pl ./t/htdocs/modules/cgi/perl.pl 
./t/htdocs/modules/cgi/perl_echo.pl t/TEST] }

# --- MakeMaker post_initialize section:


# --- MakeMaker const_config section:

# These definitions are from config.sh (via 
/home/gary/temp/sh-inst.0006/lib/perl/Config.pm)

# They may have been overridden via Makefile.PL or on the command line
AR = ar
CC = gcc
CCCDLFLAGS = -fpic
CCDLFLAGS = -rdynamic
DLEXT = so
DLSRC = dl_dlopen.xs
LD = gcc
LDDLFLAGS = -shared 
LDFLAGS =  
LIBC = /lib/libc-2.2.2.so
LIB_EXT = .a
OBJ_EXT = .o
OSNAME = linux
OSVERS = 2.4.2-2smp
RANLIB = :
SO = so
EXE_EXT = 
FULL_AR = /usr/bin/ar


# --- MakeMaker constants section:
AR_STATIC_ARGS = cr
NAME = httpd-test
DISTNAME = httpd-test
NAME_SYM = httpd_test
VERSION = 0.01
VERSION_SYM = 0_01
XS_VERSION = 0.01
INST_BIN = blib/bin
INST_EXE = blib/script
INST_LIB = blib/lib
INST_ARCHLIB = blib/arch
INST_SCRIPT = blib/script
PREFIX = /home/gary/temp/sh-inst.0006
INSTALLDIRS = site
INSTALLPRIVLIB = $(PREFIX)/lib/perl
INSTALLARCHLIB = $(PREFIX)/lib/perl
INSTALLSITELIB = $(PREFIX)/lib/perl/site
INSTALLSITEARCH = $(PREFIX)/lib/perl/site
INSTALLBIN = $(PREFIX)/bin
INSTALLSCRIPT = $(PREFIX)/bin
PERL_LIB = /home/gary/temp/sh-inst.0006/lib/perl
PERL_ARCHLIB = /home/gary/temp/sh-inst.0006/lib/perl
SITELIBEXP = /home/gary/temp/sh-inst.0006/lib/perl/site
SITEARCHEXP = /home/gary/temp/sh-inst.0006/lib/perl/site
LIBPERL_A = libperl.a
FIRST_MAKEFILE = Makefile
MAKE_APERL_FILE = Makefile.aperl
PERLMAINCC = $(CC)
PERL_INC = /home/gary/temp/sh-inst.0006/lib/perl/CORE
PERL = /home/gary/temp/sh-inst.0006/bin/perl
FULLPERL = /home/gary/temp/sh-inst.0006/bin/perl
FULL_AR = /usr/bin/ar

VERSION_MACRO = VERSION
DEFINE_VERSION = -D$(VERSION_MACRO)=\$(VERSION)\
XS_VERSION_MACRO = XS_VERSION
XS_DEFINE_VERSION = -D$(XS_VERSION_MACRO)=\$(XS_VERSION)\
PERL_MALLOC_DEF = -DPERL_EXTMALLOC_DEF -Dmalloc=Perl_malloc -Dfree=Perl_mfree 
-Drealloc=Perl_realloc -Dcalloc=Perl_calloc

MAKEMAKER = /home/gary/temp/sh-inst.0006/lib/perl/ExtUtils/MakeMaker.pm
MM_VERSION = 5.45

# FULLEXT = Pathname for extension directory (eg Foo/Bar/Oracle).
# BASEEXT = Basename part of FULLEXT. May be just equal FULLEXT. (eg Oracle)
# ROOTEXT = Directory part of FULLEXT with leading slash (eg /DBD)  !!! 
Deprecated from MM 5.32  !!!
# PARENT_NAME = NAME without BASEEXT and no trailing :: (eg Foo::Bar)
# DLBASE  = Basename part of dynamic library. May be just equal BASEEXT.
FULLEXT = httpd-test
BASEEXT = test
DLBASE = $(BASEEXT)
OBJECT = $(BASEEXT)$(OBJ_EXT)
LDFROM = $(OBJECT)
LINKTYPE = dynamic

# Handy lists of source code files:
XS_FILES= 
C_FILES = mod_random_chunk.c
O_FILES = mod_random_chunk.o
H_FILES = 
HTMLLIBPODS= 
HTMLSCRIPTPODS = 
MAN1PODS = 
MAN3PODS = 
HTMLEXT = html
INST_MAN1DIR = blib/man1
INSTALLMAN1DIR = $(PREFIX)/man/man1
MAN1EXT = 1
INST_MAN3DIR = blib/man3
INSTALLMAN3DIR = $(PREFIX)/man/man3
MAN3EXT = 3
PERM_RW = 644
PERM_RWX = 755

# work around a famous dec-osf make(1) feature(?):
makemakerdflt: all

.SUFFIXES: .xs .c .C .cpp .cxx .cc $(OBJ_EXT)

# Nick wanted to get rid of .PRECIOUS. I don't remember why. I seem to recall, 
that
# some make implementations will delete the Makefile when we rebuild it. Because
# we call false(1) when we rebuild it. So make(1) is not completely wrong when 
it
# does so. Our milage may vary.
# .PRECIOUS: Makefile# seems to be not necessary anymore

.PHONY: all config static dynamic test linkext manifest

# Where is the Config information that we are using/depend on
CONFIGDEP = $(PERL_ARCHLIB)/Config.pm $(PERL_INC)/config.h

# Where to put things:
INST_LIBDIR  = $(INST_LIB)
INST_ARCHLIBDIR  = $(INST_ARCHLIB)

INST_AUTODIR 

Re: What is test.o?

2001-09-12 Thread Doug MacEachern
On Wed, 12 Sep 2001, Gary Benson wrote:
 
 The makefile itself makes the directory, and puts a .exists file in it,
 but I don't know what it is trying to to do it or why. I've attached my
 makefile if you want to compare, or if you send me yours then I'll compare
 it instead...

looks like there's a mod_random_chunk.c in your perl-framework/ directory?