473,765 Members | 2,137 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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_compile r_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_extens ion'
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_SOURC E=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_creat e' 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 1939
>
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
3061
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 built module the Python interpreter returns the following: >>> import LDSsobol Traceback (most recent call last): File "<stdin>", line 1, in ?
2
5941
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 X509Certificate ( *.cer file ) so that it can be used to email as attachment. The real part is Encrypting using X509Certificate and CryptoServiceProvider.
1
567
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 want to use a callback from the client side to update webcontrols based on user input without using postback. I am seeking a way to stop the compile errors. using System; using System.Data;
10
2661
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 | don't, I need to know. Flames welcome.
17
3516
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 using std::cin; using std::cout;
8
4916
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 namespace std;' unless the std namespace was declared first. This triggered my curiosity, and I tried to find out what the ANSI C++ standard had to say about this. I'm unable to find a conclusion, and hope someone here have a clue to spare. ...
14
2173
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 too: using std::vector<int>; Both seem to "work" on the compiler I have and I can't find any documentation saying which is correct, or are both correct?
5
5716
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. ================================================================= Error 19: "CORBAManagerMessages.h", line 4 # Unexpected 'std'. using std::string; ^^^
3
8297
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 build with these methods, will appear to encrypt and decrypt, but the resulting decrypted file will be corrupted. I tried encrypting a .bmp file and then decrypting, the resulting decrypted file under .NET 2.0 is garbage, the .NET 1.1 build works...
0
9568
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10156
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9951
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9832
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7375
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6649
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5419
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3924
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2805
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.