LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 08-23-2010, 05:41 AM   #1
bskumar7080
Member
 
Registered: Aug 2009
Distribution: Mandriva
Posts: 57

Rep: Reputation: 15
How to install gpsim in ubuntu 10.04


Hi all,
Can you guide me how to install gpsim with GUI in ubuntu 10.04.
I downloaded gpsim tar package from sourceforge. i followed following commands

tar -xvzf gpsim-0.21.2.tar.gz

cd gpsim-0.21.2

./configure

i am getting following error
Code:
checking popt.h presence... no
checking for popt.h... no
configure: error: popt not installed: cannot find popt.h
 
Old 08-23-2010, 06:08 AM   #2
blue_print
Member
 
Registered: May 2010
Location: In world
Distribution: RHEL, CentOS, Ubuntu
Posts: 275
Blog Entries: 3

Rep: Reputation: 50
Hi,

It appears like popt module is missing in the system. You will have to install popt module using the following command,

apt-get install libpopt-dev

You may encouter another error related to "readline" module while compiling gpsim. If so, install "readline" module using the following command,

apt-get install libreadline5-dev
 
Old 08-23-2010, 06:52 AM   #3
bskumar7080
Member
 
Registered: Aug 2009
Distribution: Mandriva
Posts: 57

Original Poster
Rep: Reputation: 15
Cannot find gtkextra-2.0 package

Thank you
But i got another error
Code:
checking popt.h presence... yes
checking for popt.h... yes
checking for pkg-config... /usr/bin/pkg-config
configure: error: Cannot find gtkextra-2.0 package
I don't known how to install gtkextra-2.0 package. i googled but i am unable to find steps to install

If anyone has installed gpsim in ubuntu, guide me to install piklab and ICD2 programmer
 
Old 08-23-2010, 07:01 AM   #4
blue_print
Member
 
Registered: May 2010
Location: In world
Distribution: RHEL, CentOS, Ubuntu
Posts: 275
Blog Entries: 3

Rep: Reputation: 50
You're getting error because, you have not installed gtkextra. This is also a part of gpsim setup.

Install gtkextra, before installing gpsim. You can download gtkextra from http://sourceforge.net/projects/gtkextra/
 
Old 08-23-2010, 07:21 AM   #5
bskumar7080
Member
 
Registered: Aug 2009
Distribution: Mandriva
Posts: 57

Original Poster
Rep: Reputation: 15
Error while installing GtkExtra

I downloaded GtkExtra package
i am getting folowing error

Code:
skysys@skysys-desktop:~/Downloads/gtk+extra-0.99.17$ make
make  all-recursive
make[1]: Entering directory `/home/skysys/Downloads/gtk+extra-0.99.17'
Making all in gtkextra
make[2]: Entering directory `/home/skysys/Downloads/gtk+extra-0.99.17/gtkextra'
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..      -g -O2 -Wall -c gtkbordercombo.c
rm -f .libs/gtkbordercombo.lo
gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wall -c gtkbordercombo.c  -fPIC -DPIC -o .libs/gtkbordercombo.lo
gtkbordercombo.c:21:26: error: gtk/gtkarrow.h: No such file or directory
gtkbordercombo.c:22:25: error: gtk/gtkhbox.h: No such file or directory
gtkbordercombo.c:23:26: error: gtk/gtktable.h: No such file or directory
gtkbordercombo.c:24:33: error: gtk/gtktogglebutton.h: No such file or directory
gtkbordercombo.c:25:27: error: gtk/gtkpixmap.h: No such file or directory
gtkbordercombo.c:26:29: error: gtk/gtkeventbox.h: No such file or directory
gtkbordercombo.c:27:27: error: gtk/gtkbutton.h: No such file or directory
gtkbordercombo.c:28:25: error: gtk/gtkmain.h: No such file or directory
gtkbordercombo.c:29:27: error: gtk/gtksignal.h: No such file or directory
gtkbordercombo.c:30:27: error: gtk/gtkwindow.h: No such file or directory
gtkbordercombo.c:31:26: error: gtk/gtkframe.h: No such file or directory
gtkbordercombo.c:32:28: error: gdk/gdkkeysyms.h: No such file or directory
In file included from gtkbordercombo.c:33:
gtkcombobox.h:37: error: expected specifier-qualifier-list before 'GtkHBox'
gtkcombobox.h:47: error: expected specifier-qualifier-list before 'GtkHBoxClass'
gtkcombobox.h:50: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'gtk_combobox_get_type'
gtkcombobox.h:52: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
In file included from gtkbordercombo.c:34:
gtkbordercombo.h:41: error: expected specifier-qualifier-list before 'gint'
gtkbordercombo.h:54: error: expected declaration specifiers or '...' before 'gint'
gtkbordercombo.h:57: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'gtk_border_combo_get_type'
gtkbordercombo.h:59: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
gtkbordercombo.c:42: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'border_combo_signals'
gtkbordercombo.c:76: error: expected ')' before '*' token
gtkbordercombo.c:77: error: expected ')' before '*' token
gtkbordercombo.c:78: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
gtkbordercombo.c: In function 'gtk_border_combo_class_init':
gtkbordercombo.c:86: error: 'GtkObjectClass' undeclared (first use in this function)
gtkbordercombo.c:86: error: (Each undeclared identifier is reported only once
gtkbordercombo.c:86: error: for each function it appears in.)
gtkbordercombo.c:86: error: 'object_class' undeclared (first use in this function)
gtkbordercombo.c:87: error: 'GtkWidgetClass' undeclared (first use in this function)
gtkbordercombo.c:87: error: 'widget_class' undeclared (first use in this function)
gtkbordercombo.c:89: warning: implicit declaration of function 'gtk_type_class'
gtkbordercombo.c:89: warning: implicit declaration of function 'gtk_hbox_get_type'
gtkbordercombo.c:89: warning: assignment makes pointer from integer without a cast
gtkbordercombo.c:90: error: expected expression before ')' token
gtkbordercombo.c:91: error: expected expression before ')' token
gtkbordercombo.c:93: error: 'gtk_border_combo_destroy' undeclared (first use in this function)
gtkbordercombo.c:95: error: 'gtk_border_combo_realize' undeclared (first use in this function)
gtkbordercombo.c:97: error: 'border_combo_signals' undeclared (first use in this function)
gtkbordercombo.c:97: warning: implicit declaration of function 'gtk_signal_new'
gtkbordercombo.c:98: error: 'GTK_RUN_FIRST' undeclared (first use in this function)
gtkbordercombo.c:100: warning: implicit declaration of function 'GTK_SIGNAL_OFFSET'
gtkbordercombo.c:100: error: expected expression before 'GtkBorderComboClass'
gtkbordercombo.c:102: error: 'gtk_marshal_NONE__INT' undeclared (first use in this function)
gtkbordercombo.c:103: error: 'GTK_TYPE_NONE' undeclared (first use in this function)
gtkbordercombo.c:103: error: 'GTK_TYPE_INT' undeclared (first use in this function)
gtkbordercombo.c:105: warning: implicit declaration of function 'gtk_object_class_add_signals'
gtkbordercombo.c: At top level:
gtkbordercombo.c:111: error: expected ')' before '*' token
gtkbordercombo.c:131: error: expected ')' before '*' token
gtkbordercombo.c: In function 'gtk_border_combo_init':
gtkbordercombo.c:213: error: 'GtkWidget' undeclared (first use in this function)
gtkbordercombo.c:213: error: 'widget' undeclared (first use in this function)
gtkbordercombo.c:215: warning: implicit declaration of function 'GTK_WIDGET'
gtkbordercombo.c:217: error: 'GtkBorderCombo' has no member named 'nrows'
gtkbordercombo.c:218: error: 'GtkBorderCombo' has no member named 'ncols'
gtkbordercombo.c:219: error: 'GtkBorderCombo' has no member named 'row'
gtkbordercombo.c:220: error: 'GtkBorderCombo' has no member named 'column'
gtkbordercombo.c: At top level:
gtkbordercombo.c:225: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
gtkbordercombo.c:247: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'gtk_border_combo_get_type'
gtkbordercombo.c:269: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
gtkbordercombo.c:282: error: expected ')' before '*' token
make[2]: *** [gtkbordercombo.lo] Error 1
make[2]: Leaving directory `/home/skysys/Downloads/gtk+extra-0.99.17/gtkextra'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/skysys/Downloads/gtk+extra-0.99.17'
make: *** [all-recursive-am] Error 2
 
Old 08-23-2010, 07:22 AM   #6
crts
Senior Member
 
Registered: Jan 2010
Posts: 2,020

Rep: Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757
Quote:
Originally Posted by bskumar7080 View Post
Hi all,
Can you guide me how to install gpsim with GUI in ubuntu 10.04.
I downloaded gpsim tar package ...
Hi,

is there a reason why you do not just install it via package manager. It is in the repositories. And when you install piklab, too, you will have a GUI.
 
0 members found this post helpful.
Old 08-23-2010, 07:49 AM   #7
bskumar7080
Member
 
Registered: Aug 2009
Distribution: Mandriva
Posts: 57

Original Poster
Rep: Reputation: 15
In package manger i am not able to find

piklab
gpsim
setserial
 
Old 08-23-2010, 08:04 AM   #8
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
May be have a look at 'simulpic' ?

And some other LQ threads about gpsim :
http://www.linuxquestions.org/questi...roblem-772417/

http://www.linuxquestions.org/questi...amming-767391/

http://www.linuxquestions.org/questi...e-cc5x-605243/

LQ Search : keyword = gpsim
LQ Search > > 'Tag Name' = gpsim
..

Last edited by knudfl; 08-23-2010 at 08:07 AM.
 
1 members found this post helpful.
Old 08-23-2010, 08:07 AM   #9
crts
Senior Member
 
Registered: Jan 2010
Posts: 2,020

Rep: Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757
???

Quote:
Originally Posted by bskumar7080 View Post
In package manger i am not able to find
I am also using Ubuntu 10.04. It is right there. Check your settings for the repositories. Don't forget to click the reload button. If they still do not show up you might try using another server, too.

See screenshots attached.

Hope this helps.
Attached Thumbnails
Click image for larger version

Name:	Screenshot-Synaptic Package Manager .png
Views:	69
Size:	120.4 KB
ID:	4391   Click image for larger version

Name:	Screenshot-Software Sources.png
Views:	58
Size:	48.1 KB
ID:	4392   Click image for larger version

Name:	Screenshot-Software Sources-1.png
Views:	45
Size:	34.1 KB
ID:	4393  
 
1 members found this post helpful.
Old 08-23-2010, 08:53 AM   #10
blue_print
Member
 
Registered: May 2010
Location: In world
Distribution: RHEL, CentOS, Ubuntu
Posts: 275
Blog Entries: 3

Rep: Reputation: 50
Kumar,

The packages should be in the repositories. Have a try on the installation using apt-get command.

apt-get install piklab

apt-get install gpsim

apt-get install setserial
 
1 members found this post helpful.
  


Reply

Tags
gpsim



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
gpsim installation problem abhilashtabraham Programming 4 12-01-2009 10:23 AM
Errors with gpsim under Ubuntu (PIC programming) malikcpp Linux - General 9 11-08-2009 02:27 AM
mistake when install ubuntu (accidentally install ubuntu on the same partitions as VS ThomasC Ubuntu 7 08-11-2009 03:26 PM
Time Warp / Clock Problem - Ubuntu Alternate CD install over Ubuntu Server krimzen85 Linux - Software 2 08-07-2009 10:01 AM
Ubuntu as frugal install, iso install, img install? impossible? nooby Ubuntu 15 08-22-2008 05:49 AM

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

All times are GMT -5. The time now is 08:44 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