LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   query regarding installing swig on Red hat Linux9 (http://www.linuxquestions.org/questions/linux-software-2/query-regarding-installing-swig-on-red-hat-linux9-317619/)

shweta12 04-27-2005 05:03 AM

query regarding installing swig on Red hat Linux9
 
Hi all,

This is Shweta, I am working on an OFDM project in which I have to create python interfaces for GNU Radio Software. I am using swig 1.3.24 on Linux version 9. I have certain queries regarding swig which I am not able to find out from the swig documentation. Please, kindly send me the possible solutions or links which will be helpful to me. I will be highly thankful to you.



I have following queries:

1. How to build the swig.exe on Linux and Windows.

2. How to set up the environment on Linux and Windows.

3. Any paths & Directories should be created.

4. How o interface swig with GNU radio.

5. How swig interacts with GNU radio.

6. Which version of Linux is compatible with swig.





Thanks & Regards,
shweta

Simon Bridge 04-27-2005 06:30 AM

Re: query regarding installing swig on Red hat Linux9
 
Quote:

Originally posted by shweta12
I have following queries:
1. How to build the swig.exe on Linux and Windows.
2. How to set up the environment on Linux and Windows.
3. Any paths & Directories should be created.
4. How o interface swig with GNU radio.
5. How swig interacts with GNU radio.
6. Which version of Linux is compatible with swig.
Hmmm... sounds like you want us to do your assignment for you?

1.
For linux: download the *.tar.gz file from the swig page at sourceforge http://sourceforge.net/project/showf...?group_id=1645

use the file roller (double click the package) to browse the contents and read anything that looks like instructions. There's usually a text fle called "readme.txt" which will tell you what to do. Usually it is a matter of unpacking the tarball, using a terminal to cd into the directory the tarball created and typing "./configer" then "make" then "make install" or something like that.

For windows - which is a naughty question since we don't do that here :) - you download the *.zip file from sourceforge (see above) - unzip it and run the installation program. You'll find the windows version is a lot less configurable.

2-6. may be replied to when you have had a go at step one. Your question suggests you have yet to encounter a problem so good luck.

shweta12 04-27-2005 06:47 AM

Hi Simon,
Thanks for the reply..
:-) I have already installed it on Linux version 9.0. But still dont know abt the connectivity with GNU software :-(.
Please let me know if u have some details.

Thanks,
Shweta

Simon Bridge 04-27-2005 07:50 AM

swig would not interface with the GNU radio software. SWIG's job is to help you develop the (in this case) perl script which is to do the interfacing.

Have you seen the following:
http://www.swig.org/papers/Perl98/swigperl.htm
http://www.swig.org/Doc1.1/HTML/Contents.html
http://www.swig.org/tutorial.html

(in order of decreasing complexity.)

How perl interfaces with the GNU Radio software depends entirely on the radio software and what you want it to do. You may find it's easier to just go directly to perl for this ... unless you are required to use swig? Or you want to change some other code (say C++) to perl?

shweta12 04-28-2005 12:44 AM

Ya...That's true..I will look into those links...
In the swig downloadable for linux the executable is not provided. Plzz tell me how can I build the wig executable in Linux....??????????


All times are GMT -5. The time now is 06:42 AM.