user
June 28, 2008, 5:43pm
#1
Hi All,
I am trying to install sysytemc rpm for openSUE10.3.
I downloaded the package from
RPM Search
this link . After downloading as a root
I am running the following command .
rpm -i rpm -i systemc-2.2.0-12.1.src.rpm
then I am getting the following error.
warning: systemc-2.2.0-12.1.src.rpm: Header V3 DSA signature: NOKEY, key ID 5d8bcea3
I do not understand this …as it got properly installed or not !!
Please comment !!! Thanks in advance !!
Regards,
Srinivas Boppu
ignore the warning, i get those too. your package should be installed. you can check that with
rpm -q systemc
It’s a source RPM - which means it installs the source files for the package, which are located in /usr/src/packages/
I assume you wanted the binary rather than the source package?
Chrysantine:
It’s a source RPM - which means it installs the source files for the package, which are located in /usr/src/packages/
I assume you wanted the binary rather than the source package?
that’s for pointing out it’s a source rpm, missed that
Incidentally if you want the binary package, you can grab it from here: http://download.opensuse.org/repositories/home:/dannori/openSUSE_10.3/i586/systemc-2.2.0-12.1.i586.rpm
Note that the download is meant for openSUSE 10.3.
user
June 29, 2008, 3:35am
#6
hi All,
When I do rpm -q systemc
It is giving me the following message.
srinivasboppu@linux-srinivas:~> rpm -q systemc
systemc-2.2.0-12.1
srinivasboppu@linux-srinivas:~>
I wanted to know whether it is installed properly ? or not ?
What is the difference between the source and binary package ?
How to identify them ? whether it is a source or binary ?.
how do I test that this installed properly …
please comment.
Thanks,
Srinivas Boppu
Yes, it’s installed.
Source RPMs have a src.rpm in the name. They will not appear in rpm -q searches.
user
June 30, 2008, 4:29pm
#8
hi Ken,
I am executing the following program.
1 // All systemc modules should include systemc.h header file
2 #include “systemc.h”
3 // Hello_world is module name
4 SC_MODULE (hello_world) {
5 SC_CTOR (hello_world) {
6 // Nothing in constructor
7 }
8 void say_hello() {
9 //Print “Hello World” to the console.
10 cout << "Hello World.
";
11 }
12 };
13
14 // sc_main in top level function like in C++ main
15 int sc_main(int argc, char* argv]) {
16 hello_world hello(“HELLO”);
17 // Print the hello world
18 hello.say_hello();
19 return(0);
20 }
The command line I am using is :
setenv SYSTEMC_HOME /usr/share/systemc
then
g++ -I. -I$SYSTEMC_HOME/include -L. -L$SYSTEMC_HOME/lib-linux -o sim hello.cpp -lsystemc -lm
then I am ending up in the following error.
/usr/lib64/gcc/x86_64-suse-linux/4.2.1/…/…/…/…/x86_64-suse-linux/bin/ld: skipping incompatible /usr/share/systemc/lib-linux/libsystemc.a when searching for -lsystemc
/usr/lib64/gcc/x86_64-suse-linux/4.2.1/…/…/…/…/x86_64-suse-linux/bin/ld: cannot find -lsystemc
collect2: ld returned 1 exit status
Please can you have a look at this.
I got this program from the following site.
My first program in SystemC
thanks,
srinivas
You can see what files were installed by a package with:
rpm -qf systemc
That list will tell you where the include files and libraries were put and you should adjust your compiler commands so that they are found.
I don’t know anything about systemc and don’t have much desire to go probing so I can only give you some general tips.
user
June 30, 2008, 5:59pm
#10
hi Ken_yap,
Thanks alot …for your help. I did followed what you said.
I was able to run the program…
Thanks a bunch !!!
regards,
Srinivas Boppu
freerjw
November 11, 2010, 4:53pm
#11
Hi,
I search the website you mentioned. And I found the links are like:
Fedora 1 download.fedora.redhat.com/pub/fedora/linux/development/14/x86_64/os/Packages/perl-SystemC-Vregs-1.463-4.fc14.noarch.rpm
Rawhide download.fedora.redhat.com/pub/fedora/linux/development/rawhide/i386/os/Packages/perl-SystemC-Vregs-1.463-4.fc14.noarch.rpm
It does not seem like the systemc I need. Could you tell me more about which RPM you installed? Please tell me more about the procedures of the installation.
My personal e-mail addr: rxjwg98 @ gmail com. Thanks
I do not think you would get RPM for systemc. But this page here would help you create your own.
Installing SystemC on Fedora « Free Electronic Lab