473,387 Members | 1,464 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

A problem of using pyfort

Hi,
I faced some problems during using pyfort. The log for installing
pyfort is attached:

running install
running build
running build_py
running build_scripts
copying pyfort -build/scripts-2.4
changing mode of build/scripts-2.4/pyfort from 644 to 755
running install_lib
running install_scripts
copying build/scripts-2.4/pyfort -/usr/bin
changing mode of /usr/bin/pyfort to 755
Pyfort Version 8.5.3

It seems to be no errors. However, It cannot
work perfectly while applying on the demo. The message is shown as:

g77
Wrote project file pyfdemo.pfp
Building project pyfdemo.pfp
minusg =
project_name = pyfdemo
command = install
fortran_compiler_id = g77
outdir =
Reading pyfdemo.pfp
Building Pyfort module pyfdemo
Generating documentation file
Generating Pyfort interface in /root/Pyfort-8.5.3/build/
pyfort_pyfdemo
Your extension has been generated in /root/Pyfort-8.5.3/build/
pyfort_pyfdemo.
Executing setup install using these arguments:
version = '8.5.3'
External module specified by:
libraries = ['g2c']
sources = ['/root/Pyfort-8.5.3/build/pyfort_pyfdemo/
pyfdemomodule.c']
library_dirs = []
name = 'pyfdemo'
name = 'pyfdemo_extension'
extra_path = 'pyfdemo_dir'
---------------------------------
running install
running build
running build_ext
building 'pyfdemo' extension
creating build/temp.linux-i686-2.4
creating build/temp.linux-i686-2.4/root
creating build/temp.linux-i686-2.4/root/Pyfort-8.5.3
creating build/temp.linux-i686-2.4/root/Pyfort-8.5.3/build
creating build/temp.linux-i686-2.4/root/Pyfort-8.5.3/build/
pyfort_pyfdemo
gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g -pipe -Wall -Wp,-
D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-
size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -
D_GNU_SOURCE -fPIC -fPIC -I/usr/include/python2.4 -c /root/
Pyfort-8.5.3/build/pyfort_pyfdemo/pyfdemomodule.c -o build/temp.linux-
i686-2.4/root/Pyfort-8.5.3/build/pyfort_pyfdemo/pyfdemomodule.o
/root/Pyfort-8.5.3/build/pyfort_pyfdemo/pyfdemomodule.c:50: warning:
'set_transposed_strides' defined but not used
/root/Pyfort-8.5.3/build/pyfort_pyfdemo/pyfdemomodule.c:187: warning:
'do_array_inout' defined but not used
/root/Pyfort-8.5.3/build/pyfort_pyfdemo/pyfdemomodule.c:212: warning:
'do_array_create' defined but not used
creating build/lib.linux-i686-2.4
gcc -pthread -shared build/temp.linux-i686-2.4/root/Pyfort-8.5.3/build/
pyfort_pyfdemo/pyfdemomodule.o -lg2c -o build/lib.linux-i686-2.4/
pyfdemo.so
/usr/bin/ld: cannot find -lg2c
collect2: ld returned 1 exit status
error: command 'gcc' failed with exit status 1

I didn't find any solutions via internet. So I really
need your help. The OS on my computer is Fedora Core 5. Thanks in
advance.

Feb 15 '07 #1
1 1923
>
I didn't find any solutions via internet. So I really
need your help. The OS on my computer is Fedora Core 5. Thanks in
advance.
Really? Entering the error-message and fedora core 5 brings this up as first
result in google:

http://www.bo.infn.it/alice/alice-do...st/node40.html

So - you certainly need to improve your googling-skillz.

Diez
Feb 15 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Carl | last post by:
I have experimented with f2c and swig-generated wrappers to create python modules from Fortran files. I think I'm missing something when I'm building the Python module, because when I import the...
2
by: rawCoder | last post by:
Hi All, I have a *.cer file, a public key of some one and I want to encrypt some thing using this public key. Can someone point me to a sample code for Encrypting some file using...
1
by: Mike | last post by:
When trying to compile (using Visual Web Developer 2005 Express Beta; frameworkv2.0.50215 ) the source code below I get errors (listed below due to the use of ICallBackEventHandler. Ultimately I...
10
by: Christopher Benson-Manica | last post by:
Why can't I use a class destructor in a using declaration: using MyClass::~MyClass; ? -- Christopher Benson-Manica | I *should* know what I'm talking about - if I ataru(at)cyberspace.org ...
17
by: beliavsky | last post by:
Many of my C++ programs have the line using namespace std; but the "Accelerated C++" book of Koenig and Moo has many examples where the library names are included one at a time, for example ...
8
by: Petter Reinholdtsen | last post by:
I ran into a problem on HP-UX 11.00 the other day, where it refused to compile a program using 'using namespace std;' at the top. The reason seem to be that the compiler refuses to accept 'using...
14
by: john.burton.email | last post by:
I've done some extensive searching and can't seem to find an answer to this - Is it correct to using "using" with templates, for example: using std::vector; Or do I need to specify the type...
5
by: Enos Meroka | last post by:
Hallo, I am a student doing my project in the university.. I have been trying to compile the program using HP -UX aCC compiler, however I keep on getting the following errors. ...
3
by: JDeats | last post by:
I have some .NET 1.1 code that utilizes this technique for encrypting and decrypting a file. http://support.microsoft.com/kb/307010 In .NET 2.0 this approach is not fully supported (a .NET 2.0...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.