LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-20-2011, 11:05 AM   #1
vonelli
Member
 
Registered: Mar 2008
Posts: 33

Rep: Reputation: 1
as31 80c51 development software


Hello all,
I am try to compile and install the as31 program development for the 80c51, but I am getting an error during compiling cannot find "gtk/gtk.h" I downloaded it from /www.pjrc.com/tech/8051/.

I send an email to "paul@pjrc.com", he toll me to install gtk1.2-dev indicating that, On Ubuntu, the command is:
"apt-get install libgtk1.2-dev"
it still produces the error.
I will appreciate if any body can help.

I am using an HP laptop zv6000 running Fedora 14 and appears that gtk2 and gtk3 is installed

This is the result:

[Vinny@HP1 ~]$ apt-get install libgtk1.2-dev
bash: apt-get: command not found...
Install package 'apt' to provide command 'apt-get'? [N/y]
* Waiting in queue..
* Running..
* Resolving dependencies..
* Installing packages..
The following packages have to be installed:
fedora-package-config-apt-13.89-7.noarch Fedora configuration files for
the apt-rpm package manager
Proceed with changes? [N/y]
* Waiting for authentication..
* Running..
* Resolving dependencies..
* Downloading packages..
* Testing changes..
* Installing packages..
* Scanning applications..
* Getting information..
E: Unable to write to /var/cache/apt/
E: The package lists or status file could not be parsed or opened.

[Vinny@HP1 ~]$ cd Downloads/as31
[Vinny@HP1 as31]$ make
gcc -O3 -Wall `gtk-config --cflags` -c as31_gtk.c
/bin/sh: gtk-config: command not found
as31_gtk.c:24:21: fatal error: gtk/gtk.h: No such file or directory
compilation terminated.
make: *** [as31_gtk.o] Error 1
[Vinny@HP1 as31]$
 
Old 01-20-2011, 11:10 AM   #2
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
Fedora uses yum for install, not apt.
Fedora also uses package names that are quite different
from the Debian/Ubuntu names.

1) su <enter password>
2) yum install gtk+-devel

... which will provide version 1.2.10

...

Last edited by knudfl; 01-20-2011 at 11:13 AM.
 
Old 01-21-2011, 12:34 PM   #3
vonelli
Member
 
Registered: Mar 2008
Posts: 33

Original Poster
Rep: Reputation: 1
Thank you so much, the "yum install gtk+-devel" command worked very well
 
  


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
Software development in the changes and desperated mwildam Programming 2 11-19-2006 11:13 PM
LXer: Software reuse and DSO -- breaking the rules of embedded software development LXer Syndicated Linux News 0 04-20-2006 02:54 AM
Software Development bmbeeman Programming 2 10-19-2005 10:14 PM
Web Development Software dos1 Linux - Software 4 12-16-2003 03:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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