LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 04-27-2005, 05:03 AM   #1
shweta12
LQ Newbie
 
Registered: Apr 2005
Posts: 3

Rep: Reputation: 0
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
 
Old 04-27-2005, 06:30 AM   #2
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
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.
 
Old 04-27-2005, 06:47 AM   #3
shweta12
LQ Newbie
 
Registered: Apr 2005
Posts: 3

Original Poster
Rep: Reputation: 0
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
 
Old 04-27-2005, 07:50 AM   #4
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
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?
 
Old 04-28-2005, 12:44 AM   #5
shweta12
LQ Newbie
 
Registered: Apr 2005
Posts: 3

Original Poster
Rep: Reputation: 0
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....??????????
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
installing red hat fakie_flip Red Hat 2 08-18-2005 02:50 PM
Connecting 3 computers? 2x Windows XP and Red Hat Linux9? tyledogg Linux - Networking 1 04-12-2004 09:29 AM
Installing Windows XP after installing Red Hat 9 BluePyre Linux - General 7 03-09-2004 04:37 PM
Installing Red Hat 9.0 EngQuinn Linux - Distributions 4 10-17-2003 03:22 PM
Red Hat Linux Server and Win xx installation query ashpai Linux - Software 1 01-31-2001 11:42 PM


All times are GMT -5. The time now is 06:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration