LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 05-06-2007, 11:37 AM   #1
nidalos
LQ Newbie
 
Registered: Apr 2007
Location: Poland
Distribution: Back|Track ][
Posts: 7

Rep: Reputation: 0
Question Problem installing glibc and gcc on slack


Hello!
I have very big problem installing gcc and glibc... I know that there are many tutorials, but I just can't install it Please! Can anyone give me step-by-step tutorial? I beg you! I can't install anything without these packages I have BackTrack2 (on slack)...
Thanks in advance.
nidalos.
 
Old 05-06-2007, 12:37 PM   #2
erklaerbaer
Member
 
Registered: Mar 2006
Posts: 381

Rep: Reputation: 30
this gives me a headache.
backtrack is basically a different distro. if they have packages, maybe you can install them with 'installpkg' .
you are probably better off, asking in their forum.
 
Old 05-06-2007, 12:50 PM   #3
nidalos
LQ Newbie
 
Registered: Apr 2007
Location: Poland
Distribution: Back|Track ][
Posts: 7

Original Poster
Rep: Reputation: 0
Code:
# installpkg gcc-4.1.2.tar.gz
Cannot install gcc-4.1.2.tar.gz: package does not end in .tgz
So there's no difference :/ I still can't install... but I'll try and ask on remote-exploit forums...
 
Old 05-06-2007, 01:00 PM   #4
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
I dunno, but upgrading glibc is not as easy as installing one package.
 
Old 05-06-2007, 01:12 PM   #5
nidalos
LQ Newbie
 
Registered: Apr 2007
Location: Poland
Distribution: Back|Track ][
Posts: 7

Original Poster
Rep: Reputation: 0
while I want to install sthing it says I need glibc and/or gcc library... So I don't have them... And I don'y need to upgrade - I need to install
 
Old 05-06-2007, 02:45 PM   #6
Eternal_Newbie
Member
 
Registered: Jun 2005
Location: The Pudding Isles
Distribution: Slackware 13.37
Posts: 573

Rep: Reputation: 59
what version of glibc do you need, 2.3.x or 2.4.x? Backtrack is Slax-based apparently, so I assume it can use Slax modules. The most recent development tools module for Slax appears to be this one, with glibc 2.3.6 and gcc 3.4.6.
If you need gcc 4.x and glibc 2.4.x I would recommend asking on the Backtrack or Slax forums. As H_TexMex_H says, upgrading glibc is not an easy task.

PS: Are you running Backtrack as a live CD or do you have it installed to your harddrive?

Last edited by Eternal_Newbie; 05-06-2007 at 02:46 PM.
 
Old 05-06-2007, 02:55 PM   #7
lali.p
Member
 
Registered: Jan 2007
Distribution: Slackware 11.0
Posts: 141

Rep: Reputation: 16
Smile

Slackware packages have the tgz extension.However not everything that ends with tgz is a Slackware package.
It can be source code as well.
So if you have downloaded a tgz file from slackware mirror site or a site like linuxpackages.net then only there are chances that its a slackware package and not a source file

In order to install from source you need to compile which in your case you cannot because you do not hace gcc.


So coming to your problem ,you are unable to install because :
The package you are trying to install in not in tgz format(may be its a source file)
Anyway change its extension to .tgz and they issue:
Quote:
installpkg xyz.tgz
where xyz is the package you mentioned. If this again gives the error that it's not a slackware package then here are the links from which you can downlod gcc and glib packages:
1)gcc->http://slackware.cs.utah.edu/pub/sla...4.6-i486-1.tgz

2)glibc->(i)http://slackware.cs.utah.edu/pub/sla...3.6-i486-6.tgz
(ii)http://slackware.cs.utah.edu/pub/sla...6-noarch-6.tgz

You can install these packages using installpkg command.

Last edited by lali.p; 05-06-2007 at 02:57 PM.
 
Old 05-06-2007, 04:37 PM   #8
nidalos
LQ Newbie
 
Registered: Apr 2007
Location: Poland
Distribution: Back|Track ][
Posts: 7

Original Poster
Rep: Reputation: 0
I have BT 2 Final release installed on my hd. I've tried
Code:
# installpkg gcc-3.4.6-i486-1.tgz
Installing package gcc-3.4.6-i486-1...
PACKAGE DESCRIPTION:
gcc: gcc (Base GCC package with C support)
gcc:
gcc: GCC is the GNU Compiler Collection.
gcc:
gcc: This package contains those parts of the compiler collection needed to
gcc: compile C code.  Other packages add C++, Fortran, Objective-C, and
gcc: Java support to the compiler core.
gcc:
Executing install script for gcc-3.4.6-i486-1...

# installpkg glibc-solibs-2.3.6-i486-6.tgz
Installing package glibc-solibs-2.3.6-i486-6...
PACKAGE DESCRIPTION:
glibc-solibs: glibc-solibs (shared GNU C libraries)
glibc-solibs:
glibc-solibs: This package contains the shared libraries, binaries, and support
glibc-solibs: files required to run most Linux applications linked with glibc.
glibc-solibs:
Executing install script for glibc-solibs-2.3.6-i486-6...
and nothing happens...
 
Old 05-06-2007, 05:44 PM   #9
n00bified
Member
 
Registered: Aug 2005
Distribution: slackware!
Posts: 43

Rep: Reputation: 15
Why do you need gcc? There are much easier ways to install software then to try and compile from source. What are you trying to install?
 
Old 05-06-2007, 06:21 PM   #10
nidalos
LQ Newbie
 
Registered: Apr 2007
Location: Poland
Distribution: Back|Track ][
Posts: 7

Original Poster
Rep: Reputation: 0
err BitchX, ati drivers, 3ddesktop (to impress friends :P), BOINC, xine, and many more apps If You'll be so kind and share Your wisdom with me... How can I install these without GCC and/or Glibc?

Last edited by nidalos; 05-06-2007 at 06:28 PM.
 
Old 05-06-2007, 06:34 PM   #11
n00bified
Member
 
Registered: Aug 2005
Distribution: slackware!
Posts: 43

Rep: Reputation: 15
You use gcc to make programs from the source code. This is what you get from the websites that make the program. Slackware offers "precompiled" programs, which means you don't need gcc.

You can find the packages here:
http://slackware.cs.utah.edu/pub/sla...1.0/slackware/

For example, bitchx is in n/bitchx-1.1-i486-5.tgz Download that and as root use "installpkg bitchx-1.1-i486-5.tgz Most programs have dependancies. If you install a program and it won't run open it from a console and note the library you don't have. These libraries will be in the l/ directory.

ATI drivers are a binary and need to be installed in a special way. See here:
http://www.linuxquestions.org/questi...d.php?t=402003

For programs that aren't included in the slackware distribution try: www.linuxpackages.net
 
Old 05-06-2007, 06:45 PM   #12
nidalos
LQ Newbie
 
Registered: Apr 2007
Location: Poland
Distribution: Back|Track ][
Posts: 7

Original Poster
Rep: Reputation: 0
ohhhh how nice but what with glibc?

and why nothing happens when I installpkg?
Code:
# installpkg bitchx-1.1-i486-5.tgz
Installing package bitchx-1.1-i486-5...
PACKAGE DESCRIPTION:
bitchx: BitchX (chat client)
bitchx:
bitchx: BitchX is an advanced Internet Relay Chat (IRC) client.
bitchx:
Executing install script for bitchx-1.1-i486-5...
this really bake my noodle...

nothing... just give me this msg and stops... ;(

Last edited by nidalos; 05-06-2007 at 06:52 PM.
 
Old 05-06-2007, 06:50 PM   #13
n00bified
Member
 
Registered: Aug 2005
Distribution: slackware!
Posts: 43

Rep: Reputation: 15
Installpkg installs the package. To use the application you must execute it. Try typing "bitchx".

Glibc is a library of functions that should only really be needed for compilation.
 
Old 05-06-2007, 06:56 PM   #14
nidalos
LQ Newbie
 
Registered: Apr 2007
Location: Poland
Distribution: Back|Track ][
Posts: 7

Original Poster
Rep: Reputation: 0
yay... and it installed it so fast? I though that sth is wrong... thanx very much!
 
  


Reply

Tags
gcc, glibc


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
problem installing glibc-2.3.2-4.80.i686, glibc-common-2.3.2-4.80.8.i386.rpm martianpackets Red Hat 8 05-01-2009 04:22 PM
glibc is preventing me from installing gcc blicurse Fedora 4 12-29-2004 02:17 PM
error installing glibc on slack moschi Linux - Software 2 10-23-2004 12:46 AM
Installing gcc-2.95.3 and glibc-2.2.5 on Red Hat 9 sspraggs Red Hat 2 09-25-2004 03:10 PM
Installing GCC and glibc on Suse 9.1 Personal Edition rocketdude Linux - Software 5 07-17-2004 08:47 AM


All times are GMT -5. The time now is 08:47 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration