On Thursday, May 16, 2002, at 11:49 , Prachi Shroff wrote:
[..]

without knowing which compiler - these would be hard to run to ground.

but we will try to help a bit here..

I think nmake environment is having an issue with

        # --- MakeMaker constants section:
        AR_STATIC_ARGS = cr

hence is reading that as a file - vice a command line argument
to the 'ar' - cf man ar

"AR(1) System General Commands Manual AR(1)

NAME
      ar - create and maintain library archives

.....
      -c      Whenever an archive is created, an informational message to 
that
              effect is written to standard error.  If the -c option is 
speci-
              fied, ar creates the archive silently.
.....
      -r      Replace or add the specified files to the archive.  If the
              archive does not exist a new archive file is created.  Files 
that
              replace existing files do not change the order of the files
              within the archive.  New files are appended to the archive 
unless
              one of the options -a, -b or -i is specified.
.....



hence is not dealing with how to make a static library appropriately,
the rest appears to be merely the water fall from that...

which would suggest that you are not having a problem with the
'code' perse - but with how to 'tweek' the Makefile... to do
in your OS specific space that which 'cr' would do in others.

hope that helps.

> LIB : fatal error LNK1181: cannot open input file "cr"
> NMAKE : fatal error U1077: 'lib' : return code '0x49d'
> Stop.
> NMAKE : fatal error U1077: 'cd' : return code '0x2'
> Stop.
>
> I do not understand what that could mean. Also, in the ReadME file of the 
> module it says that I should change a cdflib/ipmpar.c file where the 
> integer machine constans are specified for different machines. I am using 
> a Dell machine with Windows 2000 and Intel Xeon processor. I dont know 
> what class of machines does mine fall in or if that is actually the 
> problem.


oh my GOD in heaven.... {this was rigged to run on a PDP-11 as
well as the KA and KI variants of the PDP-10....}

you would want to uncomment, I think, the section

/*     MACHINE CONSTANTS FOR IEEE ARITHMETIC MACHINES, SUCH AS THE AT&T
        3B SERIES, MOTOROLA 68000 BASED MACHINES (E.G. SUN 3 AND AT&T
        PC 7300), AND 8087 BASED MICROS (E.G. IBM PC AND AT&T 6300). */

which appears to be the default ....

I think the Xeon can do the x87 arch - help home boys, you
with the wisdom of Intel Based Chip Sets....

you may wish to check with Ed Callahan - but today
        http://www.envstat.com
is temporarily off line.

ciao
drieux

---

the make under darwin looks like:

[jeeves:~/Desktop/Math-CDF-0.1] drieux% make
mkdir blib
mkdir blib/lib
mkdir blib/lib/Math
mkdir blib/arch
mkdir blib/arch/auto
mkdir blib/arch/auto/Math
mkdir blib/arch/auto/Math/CDF
mkdir blib/lib/auto
mkdir blib/lib/auto/Math
mkdir blib/lib/auto/Math/CDF
mkdir blib/man3
cp CDF.pm blib/lib/Math/CDF.pm
AutoSplitting blib/lib/Math/CDF.pm (blib/lib/auto/Math/CDF)
cd cdflib && make LIB="" LIBPERL_A="libperl.a" LINKTYPE="dynamic" 
PREFIX="/usr" OPTIMIZE="-O3"
cc -c  -g -pipe -pipe -fno-common -no-cpp-precomp -flat_namespace 
-DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing -O3     -DVERSION=\"0.10\" 
-DXS_VERSION=\"0.10\"  -I/System/Library/Perl/darwin/CORE  dcdflib.c
cc: -flat_namespace: linker input file unused since linking not done
cc -c  -g -pipe -pipe -fno-common -no-cpp-precomp -flat_namespace 
-DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing -O3     -DVERSION=\"0.10\" 
-DXS_VERSION=\"0.10\"  -I/System/Library/Perl/darwin/CORE  ipmpar.c
cc: -flat_namespace: linker input file unused since linking not done
ar cr libcdflib.a dcdflib.o ipmpar.o
/usr/bin/ranlib libcdflib.a
make[1]: Nothing to be done for `all'.
/usr/local/bin/perl -I/System/Library/Perl/darwin -I/System/Library/Perl 
/System/Library/Perl/ExtUtils/xsubpp  -typemap 
/System/Library/Perl/ExtUtils/typemap CDF.xs > CDF.xsc && mv CDF.xsc CDF.c
cc -c  -g -pipe -pipe -fno-common -no-cpp-precomp -flat_namespace 
-DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing -O3     -DVERSION=\"0.1\" 
-DXS_VERSION=\"0.1\"  -I/System/Library/Perl/darwin/CORE  CDF.c
cc: -flat_namespace: linker input file unused since linking not done
Running Mkbootstrap for Math::CDF ()
chmod 644 CDF.bs
LD_RUN_PATH="/usr/lib" cc -o blib/arch/auto/Math/CDF/CDF.bundle  -bundle  
-flat_namespace -undefined suppress CDF.o  cdflib/libcdflib.a  -lm
chmod 755 blib/arch/auto/Math/CDF/CDF.bundle
cp CDF.bs blib/arch/auto/Math/CDF/CDF.bs
chmod 644 blib/arch/auto/Math/CDF/CDF.bs
Manifying blib/man3/Math::CDF.3
[jeeves:~/Desktop/Math-CDF-0.1] drieux%


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to