LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-30-2004, 12:15 AM   #1
Necronomicom
Member
 
Registered: Jun 2004
Distribution: Slackware, Solaris
Posts: 127

Rep: Reputation: 15
Missing libraries to compile and to start mozilla (very basic libs)


Mozilla won't run because i don't have libgtk-x11-2.0.so.0

and i did a very small install but now i need to compile a small program, however i have no idea about what package has the libraries i need, they are very basic libraries....

Code:
noip2.c:93:19: stdio.h: No such file or directory
noip2.c:94:20: stdlib.h: No such file or directory
noip2.c:96:20: unistd.h: No such file or directory
noip2.c:97:23: sys/types.h: No such file or directory
noip2.c:98:23: sys/ioctl.h: No such file or directory
noip2.c:99:22: sys/time.h: No such file or directory
noip2.c:100:20: string.h: No such file or directory
noip2.c:101:19: ctype.h: No such file or directory
noip2.c:102:19: errno.h: No such file or directory
noip2.c:103:20: signal.h: No such file or directory
noip2.c:104:20: assert.h: No such file or directory
noip2.c:105:21: termios.h: No such file or directory
noip2.c:106:24: sys/socket.h: No such file or directory
noip2.c:107:24: netinet/in.h: No such file or directory
noip2.c:108:19: netdb.h: No such file or directory
noip2.c:109:20: syslog.h: No such file or directory
noip2.c:110:19: fcntl.h: No such file or directory
noip2.c:111:22: sys/stat.h: No such file or directory
noip2.c:112:22: sys/wait.h: No such file or directory
noip2.c:113:19: netdb.h: No such file or directory
noip2.c:114:23: arpa/inet.h: No such file or directory
noip2.c:115:20: net/if.h: No such file or directory
noip2.c:116:21: sys/ipc.h: No such file or directory
noip2.c:117:21: sys/shm.h: No such file or directory
noip2.c:118:17: pwd.h: No such file or directory
noip2.c:132:29: linux/sockios.h: No such file or directory
 
Old 07-30-2004, 01:00 AM   #2
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
Since you are trying to compile a program for X, you are going to need quite afew libs. First you need gtk and its matching glib, at least, even to run such progs. You#ll also need X-devel libs from /x
To compile C progs you need, binutils, make, gcc, kernel headers and glibc from /a and /d. You must also have:bzip2, findutils, grep, gawk, sed.
You'll probably need more libs just to run it, and you'll have to include them to compile, since the compile will need the includes.
For a smal GUI install I usually include gtk + lib(many progs still are fine with just gtk+, but if you want better graphs, then gtk+2), gdk-pixbuf, libgr, libjpeg, libpng, libungif, lesstif, libtiff, libxml2, libxslt. These will let you run most gtk progs and others without probs.
For compiling, you'll probably want to include these more modern stuff also: autoconf, libtool, m4 and perl. (all work together).
You might have a look at my minimal Install HOWTO'S (starting at 20MB Slack!) at www.amigolinux.org.
 
Old 07-30-2004, 01:07 AM   #3
Necronomicom
Member
 
Registered: Jun 2004
Distribution: Slackware, Solaris
Posts: 127

Original Poster
Rep: Reputation: 15
the program i need to compile is not a x program, it only runs on the terminal.

im not going to compile mozilla, however im missing a library to run it
 
Old 07-30-2004, 03:50 AM   #4
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
stdio.h comes in the glibc package and libgtk-x11 with gtk+2 package.

Last edited by gbonvehi; 07-30-2004 at 03:51 AM.
 
  


Reply



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
always missing some libs. txotxo SUSE / openSUSE 3 10-03-2005 04:36 PM
Missing curl-libs compiling GRIP senorsnor Slackware 7 10-18-2004 10:54 PM
sdl-config --libs wont report on extension libraries unholy Programming 2 10-10-2004 07:29 AM
Missing libs that fluxbox uses after installing slack 8.1 via guide datamin0r Amigo 2 09-28-2004 03:31 PM
Can't install GTK because of missing XFree86-libs n00billy Red Hat 4 03-30-2004 10:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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