David Cleaver on Sun, 09 Mar 2003 18:48:53 -0600


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Question on compiling...


Hello all,

Recently a friend of mine asked if I could compile pari-2.2.5 into a
windows executable.  I thought I could and set out on the task.  I
already had egcs and mingw installed on my system and read through all
the readme's and went out and installed the full cygwin and tex and dvi
software packages.

Now, the "./configure" runs to completion but none of "make gp" or "make
install" or "make bench" get very far.  I was wondering if someone might
be able to tell me what I might be doing wrong [besides not compiling in
linux ;) ]

The output from "make gp" is:
Making gp in Ocygwin-
c:\mingw\bin\make.exe[1]: *** No rule to make target
'libpari_globals.h', needed by 'gp-dyn.o'.  Stop.
c:\mingw\bin\make.exe[1]: Entering directory
'd:/programming/cfiles/pari-2.2.5.alpha/Ocygwin-'
c:\mingw\bin\make.exe[1]: Leavnig directory
'd:/programming/cfiles/pari-2.2.5.alpha/Ocygwin-'
c:\mingw\bin\make.exe: *** [gp] Error 2

And for "make install" the error was:
"No rule to make target libpari-2.2.so', needed by 'install-lib-dyn'.

And for "make bench" it was:
Making bench in Ocygwin-
c:\mingw\bin\make.exe[1]: Entering directory
'd:/programming/cfiles/pari-2.2.5.alpha/Ocygwin-'
/cygdrive/c/mingw/bin/gcc -c -O3 -DGCC_INLINE -Wall   
-fomit-frame-pointer  -I. -I../src/headers -o kernel.o   
../src/kernel/none/level0.c
process_begin: CreateProcess((null), /cygdrive/c/mingw/bin/gcc -c -O3  
-DGCC_INLINE -Wall -fomit-frame-pointer -I. -I../src/headers -o  
kernel.o ../src/kernel/none/level0.c, ...) failed.
make (e=3): The system cannot find the path specified.
c:\mingw\bin\make.exe[1]: *** [kernel.o] Error 3
c:\mingw\bin\make.exe[1]: Leaving directory
'd:/programming/cfiles/pari-2.2.5.alpha/Ocygwin-'
c:\mingw\bin\make.exe: *** [bench] Error 2


Now, on make install and gp it looks like its trying to do the dynamic
linking that was mentioned in one of the readme's.  But the suggested
solution there was to try "make gp-sta", but make just returns "No rule
to make target gp-sta".

So, can anyone "see" what I'm doing wrong?  Does anyone have any
suggestions?  Do you need more info from me? (if so, what would help?) 
Any suggestions greatly appreciated.  Thank you for your time.

-David C.