LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 10-13-2010, 03:18 AM   #31
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225

What does the command...
Code:
gcc -v
...output?
 
Old 10-13-2010, 03:21 AM   #32
prayag_pjs
Senior Member
 
Registered: Feb 2008
Location: Pune - India
Distribution: RHEL/Ubuntu/Debian/Fedora/Centos/K3OS
Posts: 1,159
Blog Entries: 4

Rep: Reputation: 149Reputation: 149
Hi sorry for this!!!

Last edited by prayag_pjs; 10-13-2010 at 03:29 AM.
 
0 members found this post helpful.
Old 10-13-2010, 03:26 AM   #33
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
Are you the same person as the original poster? If not, I'm not sure why you responded. If you are, you appear to be running a Redhat system.
 
Old 10-14-2010, 09:42 AM   #34
gymiv@aol.com
Member
 
Registered: Oct 2010
Location: linwood, KS
Distribution: CentOS
Posts: 59

Original Poster
Rep: Reputation: 0
The code gcc-v returns
Reading specs from /usr/lib/gcc-lib/i386-slackware-linux/2.95.3/specs gcc version 2.95.3 20010315 (release)
 
Old 10-14-2010, 12:17 PM   #35
gymiv@aol.com
Member
 
Registered: Oct 2010
Location: linwood, KS
Distribution: CentOS
Posts: 59

Original Poster
Rep: Reputation: 0
Here is the code and error I recieve when trying to install bind

Hmm... Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- ./lib/isc/unix/socket.c.orig 2005-11-03 17:08:42.000000000 -0600 |+++ ./lib/isc/unix/socket.c 2006-02-18 13:09:15.000000000 -0600
--------------------------
Patching file lib/isc/unix/socket.c using Plan A...
Hunk #1 succeeded at 262 (offset 17 lines).
done
Hmm... Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- ./bin/named/include/named/globals.h.orig Sat Nov 24 17:47:59 2001
|+++ ./bin/named/include/named/globals.h Tue Feb 26 18:51:18 2002
--------------------------
Patching file bin/named/include/named/globals.h using Plan A...
Hunk #1 succeeded at 107 with fuzz 1 (offset 5 lines).
done
Hmm... Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- ./bin/named/named.8.orig 2007-01-29 18:23:44.000000000 -0600
|+++ ./bin/named/named.8 2007-06-07 23:17:33.000000000 -0500
--------------------------
Patching file bin/named/named.8 using Plan A...
Hunk #1 succeeded at 211 (offset 9 lines).
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- ./bin/named/lwresd.8.orig 2007-01-29 18:23:44.000000000 -0600
|+++ ./bin/named/lwresd.8 2007-06-07 23:17:18.000000000 -0500
--------------------------
Patching file bin/named/lwresd.8 using Plan A...
Hunk #1 succeeded at 204 (offset 49 lines).
done
checking build system type... i486-slackware-linux-gnu
checking host system type... i486-slackware-linux-gnu
checking whether make sets $(MAKE)... yes
checking for ranlib... ranlib
checking for a BSD-compatible install... /usr/bin/ginstall -c
checking whether ln -s works... yes
checking for ar... /usr/bin/ar
checking for etags... /usr/bin/etags
checking for Exuberant Ctags etags... no
checking for perl5... no
checking for perl... /usr/bin/perl
checking for gcc... gcc
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.
bash-2.05# gcc -v
Reading specs from /usr/lib/gcc-lib/i386-slackware-linux/2.95.3/specs
gcc version 2.95.3 20010315 (release)
 
Old 10-14-2010, 01:13 PM   #36
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
What does
Code:
 ls -l /var/log/packages/binutils-*
give you?

You may have to reinstall the gcc and binutils packages on that machine. You may want to also install/reinstall the gcc-g++ package (I don't know if bind uses C++ or C. If it's just C code, you shouldn't need the gcc-g++ package.)
 
Old 10-14-2010, 01:59 PM   #37
gymiv@aol.com
Member
 
Registered: Oct 2010
Location: linwood, KS
Distribution: CentOS
Posts: 59

Original Poster
Rep: Reputation: 0
Here is what I get. Can you tell me how to reinstall and where to get those programs?

bash-2.05# ls -l /var/log/packages/binutils-*
ls: /var/log/packages/binutils-*: No such file or directory
 
Old 10-15-2010, 03:56 PM   #38
gymiv@aol.com
Member
 
Registered: Oct 2010
Location: linwood, KS
Distribution: CentOS
Posts: 59

Original Poster
Rep: Reputation: 0
Here is the content of the binutils file

PACKAGE NAME: binutils
COMPRESSED PACKAGE SIZE: 1778 K
UNCOMPRESSED PACKAGE SIZE: 3840 K
PACKAGE LOCATION: diskd1
PACKAGE MD5SUM: 626c3ea5b447bdeced070472da981f21
PACKAGE DESCRIPTION:
binutils: GNU binutils-2.11.90.0.19
binutils:
binutils: Includes these development tools:
binutils:
binutils: addr2line ar as gasp gprof ld nm objcopy objdump ranlib readelf
binutils: size strings-GNU strip
binutils:
binutils: These utilities are REQUIRED to compile C, C++, Objective-C, Fortran,
binutils: and many other programming languages.
binutils:
FILE LIST:
./
usr/
usr/bin/
usr/bin/addr2line
usr/bin/ar
usr/bin/as
usr/bin/gasp
usr/bin/gprof
usr/bin/ld
usr/bin/nm
usr/bin/objcopy
usr/bin/objdump
usr/bin/ranlib
usr/bin/readelf
usr/bin/size
usr/bin/strings-GNU
usr/bin/strip
usr/doc/
usr/doc/binutils-2.11.90.0.19/
usr/doc/binutils-2.11.90.0.19/COPYING
usr/doc/binutils-2.11.90.0.19/COPYING.LIB
usr/doc/binutils-2.11.90.0.19/COPYING.NEWLIB
usr/doc/binutils-2.11.90.0.19/ChangeLog
usr/doc/binutils-2.11.90.0.19/ChangeLog.linux
usr/doc/binutils-2.11.90.0.19/MAINTAINERS
usr/doc/binutils-2.11.90.0.19/README
usr/doc/binutils-2.11.90.0.19/README-maintainer-mode
usr/i386-slackware-linux/
usr/i386-slackware-linux/bin/
usr/i386-slackware-linux/lib/
usr/include/
usr/include/ansidecl.h
usr/include/bfd.h
usr/include/bfdlink.h
usr/info/
usr/info/as.info-2.gz
usr/info/as.info-3.gz
usr/info/as.info-4.gz
usr/info/as.info-5.gz
usr/info/as.info-6.gz
usr/info/as.info-7.gz
usr/info/as.info-8.gz
usr/info/as.info-9.gz
usr/info/bfd.info.gz
usr/info/bfd.info-1.gz
usr/info/bfd.info-2.gz
usr/info/bfd.info-3.gz
usr/info/bfd.info-5.gz
usr/info/bfd.info-6.gz
usr/info/bfd.info-7.gz
usr/info/binutils.info.gz
usr/info/binutils.info-1.gz
usr/info/binutils.info-3.gz
usr/info/gasp.info.gz
usr/info/gprof.info.gz
usr/info/gprof.info-1.gz
usr/info/gprof.info-2.gz
usr/info/gprof.info-3.gz
usr/info/ld.info.gz
usr/info/ld.info-1.gz
usr/info/ld.info-2.gz
usr/info/ld.info-3.gz
usr/info/ld.info-4.gz
usr/info/ld.info-5.gz
usr/info/ld.info-6.gz
usr/info/as.info.gz
usr/info/as.info-1.gz
usr/info/bfd.info-4.gz
usr/info/binutils.info-2.gz
usr/lib/
usr/lib/ldscripts/
usr/lib/ldscripts/elf_i386.x
usr/lib/ldscripts/elf_i386.xbn
usr/lib/ldscripts/elf_i386.xn
usr/lib/ldscripts/elf_i386.xr
usr/lib/ldscripts/elf_i386.xs
usr/lib/ldscripts/elf_i386.xu
usr/lib/ldscripts/i386linux.x
usr/lib/ldscripts/i386linux.xbn
usr/lib/ldscripts/i386linux.xn
usr/lib/ldscripts/i386linux.xr
usr/lib/ldscripts/i386linux.xu
usr/lib/libbfd-2.11.90.0.19.so
usr/lib/libbfd.a
usr/lib/libbfd.la
usr/lib/libiberty.a
usr/lib/libopcodes-2.11.90.0.19.so
usr/lib/libopcodes.a
usr/lib/libopcodes.la
usr/man/
usr/man/man1/
usr/man/man1/ar.1.gz
usr/man/man1/as.1.gz
usr/man/man1/gprof.1.gz
usr/man/man1/ld.1.gz
usr/man/man1/nm.1.gz
usr/man/man1/objcopy.1.gz
usr/man/man1/objdump.1.gz
usr/man/man1/ranlib.1.gz
usr/man/man1/size.1.gz
usr/man/man1/strings-GNU.1.gz
usr/man/man1/strip.1.gz
usr/man/man1/addr2line.1.gz
usr/man/man1/readelf.1.gz
install/
install/doinst.sh
 
Old 10-15-2010, 11:15 PM   #39
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
Quote:
Originally Posted by gymiv@aol.com View Post
Here is the content of the binutils file
So did you find that in /var/log/packages or somewhere else?
 
Old 10-18-2010, 07:59 AM   #40
gymiv@aol.com
Member
 
Registered: Oct 2010
Location: linwood, KS
Distribution: CentOS
Posts: 59

Original Poster
Rep: Reputation: 0
yes the file binutils is in /var/log/packages. I have also completely rebuilt the OS same OS and everything else. Same error. If i use
ls -l /var/log/packages/binutils, no "-*" i get the following
-rw-r--r-- 1 root root 3010 Oct 14 06:04 /var/log/packages/binutils

Last edited by gymiv@aol.com; 10-18-2010 at 08:05 AM.
 
Old 10-18-2010, 01:42 PM   #41
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,367

Rep: Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843
I didn't use Slackware way back when 8.0 was released, but I know the package naming format was significantly different (and you can see legacy code in the upgradepkg script). I believe /var/log/packages/binutils is the correct package log on Slackware 8.0, so if that file exists then it is indeed available on your system, and excluding a versioning problem, you should look elsewhere to find the problem.
 
Old 10-19-2010, 08:16 PM   #42
gymiv@aol.com
Member
 
Registered: Oct 2010
Location: linwood, KS
Distribution: CentOS
Posts: 59

Original Poster
Rep: Reputation: 0
would upgrading the package be a possible solution? If so how do igo about that. If not where do i go from here? Do you know of a walkthrough for configuring bind?
 
Old 10-19-2010, 08:51 PM   #43
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
There's a useful DNS howto on the Linux Documentation Project site
 
Old 10-21-2010, 08:10 AM   #44
gymiv@aol.com
Member
 
Registered: Oct 2010
Location: linwood, KS
Distribution: CentOS
Posts: 59

Original Poster
Rep: Reputation: 0
This does not answer any of my previous questions
 
Old 10-21-2010, 08:27 AM   #45
jovanoti
LQ Newbie
 
Registered: Mar 2010
Distribution: Slackware
Posts: 25

Rep: Reputation: 2
Check wether you have installed g++, try
Code:
ls -l /var/log/packages/gcc-*
.

Last edited by jovanoti; 10-21-2010 at 08:29 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
Issues with BIND gurusmaran Linux - Networking 7 09-14-2005 11:21 PM
Setup BIND dawizman Linux - Software 4 05-28-2004 12:23 AM
setup bind 9.1.0 joseph Linux - General 0 08-14-2003 01:07 AM
Bind and security issues jchristman Linux - Networking 0 07-16-2003 08:36 AM
BIND - logging issues thebee Linux - Software 0 06-23-2003 12:20 PM

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

All times are GMT -5. The time now is 12:54 PM.

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