Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
03-30-2006, 08:47 AM
|
#1
|
Senior Member
Registered: Dec 2005
Location: Finland
Distribution: Slackware, CentOS, RHEL, OpenBSD
Posts: 1,006
Rep:
|
Updated Slack 10.2 and it broke :(
Okay, I did the forbidden and issued "slapt-get --dist-upgrade"
Now when I tried to compile Pure-FTP from source it complains that it doesn't find gcc.
Well, I installed the gcc with slapt-get and now I get the following:
Code:
root@slackbox:/paketit/pure-ftpd-1.0.21# ./configure
checking for a BSD-compatible install... /usr/bin/ginstall -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... no
checking for a BSD-compatible install... /usr/bin/ginstall -c
checking for ranlib... ranlib
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... none
checking dependency style of gcc... none
checking how to run the C preprocessor... /lib/cpp
configure: error: C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
root@slackbox:/paketit/pure-ftpd-1.0.21
Any idea how to fix the system? I like the gentoo better as it can be updated easily but it's so slow to get up and running on a older PC like my going-to-be-server PC 
|
|
|
03-30-2006, 10:17 AM
|
#2
|
Member
Registered: Jul 2004
Distribution: Void Linux, former Slackware
Posts: 498
Rep: 
|
You've probably forgot to instal g++ .
|
|
|
03-30-2006, 11:29 AM
|
#3
|
Senior Member
Registered: Dec 2005
Location: Finland
Distribution: Slackware, CentOS, RHEL, OpenBSD
Posts: 1,006
Original Poster
Rep:
|
I tried downloading source tarball from here
put can't get it installed. When running ./configure in just states:
Code:
root@slackbox:/paketit/gcc-4.0.2/libstdc++-v3# ./configure
configure: error: cannot find install-sh or install.sh in . ./.. ./../..
root@slackbox:/paketit/gcc-4.0.2/libstdc++-v3#
Was that the right package and how to get it installed?
|
|
|
03-30-2006, 11:41 AM
|
#5
|
Senior Member
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware64 current
Posts: 1,649
Rep: 
|
The Slackware package browser, search for gcc
http://slackware.it/en/pb/
|
|
|
03-30-2006, 01:30 PM
|
#6
|
Senior Member
Registered: Dec 2005
Location: Finland
Distribution: Slackware, CentOS, RHEL, OpenBSD
Posts: 1,006
Original Poster
Rep:
|
Okay, I downloaded the gcc and g++ packages and installed them but still get the following
Code:
root@slackbox:/paketit# cd pure-ftpd-1.0.21
root@slackbox:/paketit/pure-ftpd-1.0.21# ./configure
checking for a BSD-compatible install... /usr/bin/ginstall -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... no
checking for a BSD-compatible install... /usr/bin/ginstall -c
checking for ranlib... ranlib
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... none
checking dependency style of gcc... none
checking how to run the C preprocessor... /lib/cpp
configure: error: C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
root@slackbox:/paketit/pure-ftpd-1.0.21#
|
|
|
03-30-2006, 01:36 PM
|
#7
|
Member
Registered: Nov 2004
Location: Columbus, Ohio
Distribution: Slackware-Current / Debian
Posts: 795
Rep:
|
|
|
|
03-30-2006, 03:38 PM
|
#8
|
Member
Registered: Jul 2004
Distribution: Void Linux, former Slackware
Posts: 498
Rep: 
|
And I would add you have to read config.log if not sure what's the problem. Failed configure script suggested it to you.
|
|
|
03-30-2006, 04:13 PM
|
#9
|
Senior Member
Registered: Dec 2005
Location: Finland
Distribution: Slackware, CentOS, RHEL, OpenBSD
Posts: 1,006
Original Poster
Rep:
|
Yeah, I read it. Said pretty much the same as the above posts but I'll look it again after I get to test re-installing glibc.
Last edited by Zmyrgel; 03-30-2006 at 04:18 PM.
|
|
|
04-01-2006, 07:09 AM
|
#10
|
Senior Member
Registered: Dec 2005
Location: Finland
Distribution: Slackware, CentOS, RHEL, OpenBSD
Posts: 1,006
Original Poster
Rep:
|
Okay, I did the following after the above didn't work. I reinstalled Slack on clear partition. I blacklisted kernel-things in slackpkg and uncommented a slackware current mirror and installed samba using it. Then I upgraded my apache, irssi and java using Slackpkg. Now when I downloaded newest kernel from kernel.org and tried to compile it just stated that I didn't have "make". Probably due I 'smartly' left programming tools uninstalled during my slackware installation. Now I installed make using slackpkg. Then I tried to run 'make mrproper' but it stated I was missing gcc. Well, no suprise if make was missing so I installed that too with slackpkg. I installed the support for c++, java and such but now when I tried to issue "make menuconfig" I get following:
Code:
root@slackbox:/usr/src/linux# make menuconfig
HOSTCC scripts/basic/fixdep
In file included from /usr/include/bits/posix1_lim.h:153,
from /usr/include/limits.h:144,
from /usr/lib/gcc/i486-slackware-linux/3.4.6/include/limits.h:122,
from /usr/lib/gcc/i486-slackware-linux/3.4.6/include/syslimits.h:7,
from /usr/lib/gcc/i486-slackware-linux/3.4.6/include/limits.h:11,
from scripts/basic/fixdep.c:113:
/usr/include/bits/local_lim.h:36:26: linux/limits.h: No such file or directory
In file included from /usr/include/sys/socket.h:35,
from /usr/include/netinet/in.h:24,
from /usr/include/arpa/inet.h:23,
from scripts/basic/fixdep.c:115:
/usr/include/bits/socket.h:304:24: asm/socket.h: No such file or directory
scripts/basic/fixdep.c: In function `use_config':
scripts/basic/fixdep.c:214: error: `PATH_MAX' undeclared (first use in this function)
scripts/basic/fixdep.c:214: error: (Each undeclared identifier is reported only once
scripts/basic/fixdep.c:214: error: for each function it appears in.)
scripts/basic/fixdep.c:214: warning: unused variable `s'
scripts/basic/fixdep.c: In function `parse_dep_file':
scripts/basic/fixdep.c:310: error: `PATH_MAX' undeclared (first use in this function)
scripts/basic/fixdep.c:310: warning: unused variable `s'
make[1]: *** [scripts/basic/fixdep] Error 1
make: *** [scripts_basic] Error 2
root@slackbox:/usr/src/linux#
|
|
|
04-01-2006, 07:20 AM
|
#11
|
Senior Member
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247
Rep:
|
Do you have ncurses installed?
|
|
|
04-01-2006, 07:57 AM
|
#12
|
Senior Member
Registered: Dec 2005
Location: Finland
Distribution: Slackware, CentOS, RHEL, OpenBSD
Posts: 1,006
Original Poster
Rep:
|
Yes, Ncurses 5.4 appaerantly.
I try to upgrade it to 5.5 to see if it helps.
Edit: nope, It did not help at all 
Last edited by Zmyrgel; 04-01-2006 at 08:28 AM.
|
|
|
04-01-2006, 09:01 AM
|
#13
|
Senior Member
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247
Rep:
|
I don't really know but try to reinstall/upgrade binutils.
|
|
|
04-01-2006, 09:11 AM
|
#14
|
Member
Registered: Aug 2002
Posts: 150
Rep:
|
Install "kernel-headers" (the 2.4 version) from d/, and make sure that "glibc" from l/ is installed. "ncurses" is also required for menuconfig.
|
|
|
04-01-2006, 10:45 AM
|
#15
|
Senior Member
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware64 current
Posts: 1,649
Rep: 
|
To reinstall a package just do
Code:
upgradepkg --reinstall name-of-the-package.tgz
|
|
|
All times are GMT -5. The time now is 07:01 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|