LinuxQuestions.org
Visit Jeremy's Blog.
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, 04: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, 05:30 AM   #2
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
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, 05: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, 06:50 AM   #4
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
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-27-2005, 11:44 PM   #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 01:50 PM
Connecting 3 computers? 2x Windows XP and Red Hat Linux9? tyledogg Linux - Networking 1 04-12-2004 08:29 AM
Installing Windows XP after installing Red Hat 9 BluePyre Linux - General 7 03-09-2004 03:37 PM
Installing Red Hat 9.0 EngQuinn Linux - Distributions 4 10-17-2003 02:22 PM
Red Hat Linux Server and Win xx installation query ashpai Linux - Software 1 01-31-2001 10:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:00 AM.

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
Open Source Consulting | Domain Registration