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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
|
10-04-2010, 03:19 PM
|
#16
|
|
Member
Registered: Sep 2009
Distribution: Slackware
Posts: 125
Original Poster
Rep:
|
Root of course. I'll check if it's not a problem with the mirror i used to download slackware tree...
|
|
|
|
10-04-2010, 03:21 PM
|
#17
|
|
Guru
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594
|
Are you using the md5 checksums and/or the gpg key to verify the archives and scripts you download? That would eliminate any suspicion about the packages being bad.
|
|
|
1 members found this post helpful.
|
10-04-2010, 04:30 PM
|
#18
|
|
Member
Registered: Sep 2009
Distribution: Slackware
Posts: 125
Original Poster
Rep:
|
I use rsync with -avcz switches to download slackware tree and keep it up to date. So i think (am I wrong?) that "c" switch should make rsync verify the checksums. Anyway - I plan to download an iso image of the installation disk, and try a test install.
|
|
|
|
10-04-2010, 04:34 PM
|
#19
|
|
Guru
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594
|
Sounds good. But do use the md5sum on the ISO image too, to make sure you downloaded it error-free; this is also recommended for the burned disc too - to make sure it burned OK. If there's one bit error with it, you can get really weird problems when trying to install. Burn it at a low speed like x2 or x4.
Oh, P.S. - as I understand it (from the man page of rsync), no the -c option of rsync does not check the checksum of the file to make sure it's not been altered; it only checks whether or not you need to download the file because it's been changed since you last downloaded it. Whatever (reliable source) you download Slackware packages from, there will be either individual .asc files or .md5 files, or a large text file containing checksums for a large number of files. Each and every file available for download, will have a md5sum or .asc file that goes along with it. It's those checksums that we're talking about.
Last edited by GrapefruiTgirl; 10-04-2010 at 04:43 PM.
Reason: I re-read the man page and changed my interpretation of it
|
|
|
|
10-04-2010, 05:47 PM
|
#20
|
|
Member
Registered: Sep 2009
Distribution: Slackware
Posts: 125
Original Poster
Rep:
|
Quote:
|
Oh, P.S. - as I understand it (from the man page of rsync), no the -c option of rsync does not check the checksum of the file to make sure it's not been altered
|
As I understand it rsync first checks sizes of files -----> if their sizes differ it re-downloads them
-----> if not it checks the checksums -----> if checksums differ it re-downloads the file
-----> if they are the same, leaves the file untouched
Anyway - I checked them manually, and they were OK. There was one (unsignificant I think) file in source tree missing - a dot file in lzo source, which doesn't appear even on ftp.slackware.com mirror.
|
|
|
|
10-05-2010, 12:50 AM
|
#21
|
|
Member
Registered: Oct 2009
Distribution: Currently several distros :S
Posts: 148
Rep:
|
Currently I cannot check my theory myself but shouldn't the build directory be in /tmp? If you see the error message it gives an absolute path to the root directory but not to the tmp directory.
Quote:
|
make[2]: Entering directory `/glibc-tmp-a44be92860d34519b0c9a4500878e2e6/glibc-2.11.1/iconvdata'
|
I mean, could it be, that the directory is in /tmp but the SlackBuild tries to access (or find) it in the root directory?
Otherwise I have no idea what could be wrong.
|
|
|
|
10-05-2010, 03:37 AM
|
#22
|
|
Member
Registered: Sep 2009
Distribution: Slackware
Posts: 125
Original Poster
Rep:
|
No, no - if you built the package you should have a directory like this in your root directory. The slackbuild made it ;-)
Code:
# Temporary build location. This should not be a directory
# path a non-root user could create later...
TMP=${TMP:-/glibc-tmp-$(mcookie)}
mkdir -p $TMP
However I should have checked the number and i didn't.
EDIT:
The number is correct, so i don't know what to do. I guess that either I do something wrong, or it is hardware problem.
And you just simply ran the slackbuild? Didn't you make anything else? Any modifications? Aren't there any prerequisites for compiling glibc that i don't know? It may be something stupid...
Last edited by alekow; 10-05-2010 at 03:47 AM.
|
|
|
|
10-05-2010, 10:17 AM
|
#23
|
|
Member
Registered: Oct 2009
Distribution: Currently several distros :S
Posts: 148
Rep:
|
I run it this way:
Code:
# ARCH=i486 ./glibc.SlackBuild
because I set ARCH in /etc/profile to i686 and glibc does not seem to support it. Only i486 and x86_64 and I didn't want to alter it. ^^
|
|
|
|
10-05-2010, 02:28 PM
|
#24
|
|
Member
Registered: Sep 2009
Distribution: Slackware
Posts: 125
Original Poster
Rep:
|
Problem solved for me. I found out that my slackware-13.1 tree was broken. I simply forgot to add --delete-after flag to rsync after switching from slackware-current. This resulted in mixed current/13.1 tree. The effect was, that my "13.1" installation in fact became slackware-current.
I still don't know why I can't compile glibc on current, but now I don't need to know :-)
Thank's for helping me solving this!
Last edited by alekow; 10-05-2010 at 04:17 PM.
|
|
|
|
10-08-2010, 09:56 AM
|
#25
|
|
Member
Registered: Apr 2009
Distribution: Slackware
Posts: 450
Rep:
|
just today i had time to try again glibc and it came with something like your error. It was make-3.8.2. Found this patch http://permalink.gmane.org/gmane.com...dded.scm/39275
Quote:
---
diff --git a/manual/Makefile b/manual/Makefile
index c5866eb..b1f5fa7 100644
--- a/manual/Makefile
+++ b/manual/Makefile
@@ -232,7 +232,10 @@ ifdef objpfx
.PHONY: stubs
stubs: $(objpfx)stubs
endif
-$(objpfx)stubs ../po/manual.pot $(objpfx)stamp%:
+$(objpfx)stubs ../po/manual.pot:
+ $(make-target-directory)
+ touch $@
+$(objpfx)stamp%:
$(make-target-directory)
touch $@
--
1.7.2
|
it is still building, but passed teh error part.
|
|
|
|
10-08-2010, 10:55 AM
|
#26
|
|
Member
Registered: Apr 2009
Distribution: Slackware
Posts: 450
Rep:
|
too soon...
run the patch, continued building inside /glibc-2.12.1/build-glibc-2.12.1/ and it compiled... my bad.
when called by script (with and without that patch)...
Quote:
mv -f /glibc-tmp-58dd5b4a0ace409e4e425423ca60139d/glibc-2.12.1/build-glibc-2.12.1/iconvdata/iconv-rules.new /glibc-tmp-58dd5b4a0ace409e4e425423ca60139d/glibc-2.12.1/build-glibc-2.12.1/iconvdata/iconv-rules
make[2]: Saindo do diretório `/glibc-tmp-58dd5b4a0ace409e4e425423ca60139d/glibc-2.12.1/iconvdata'
make[2]: Entrando no diretório `/glibc-tmp-58dd5b4a0ace409e4e425423ca60139d/glibc-2.12.1/iconvdata'
../Makeconfig:85: ../x86_64/config.make: Arquivo ou diretório não encontrado
/bin/sh: line 0: cd: ../x86_64: Arquivo ou diretório não encontrado
The GNU C library has not been configured.
Run `configure' to configure it before building.
Try `configure --help' for more details.
make[2]: *** Sem regra para processar o alvo `../x86_64/config.status', necessário por `../x86_64/config.make'. Pare.
make[2]: Saindo do diretório `/glibc-tmp-58dd5b4a0ace409e4e425423ca60139d/glibc-2.12.1/iconvdata'
make[1]: ** [iconvdata/subdir_lib] Erro 2
make[1]: Saindo do diretório `/glibc-tmp-58dd5b4a0ace409e4e425423ca60139d/glibc-2.12.1'
make: ** [all] Erro 2
make -r PARALLELMFLAGS="" CVSOPTS="" -C .. objdir=`pwd` all
make[1]: Entrando no diretório `/glibc-tmp-58dd5b4a0ace409e4e425423ca60139d/glibc-2.12.1'
make subdir=csu -C csu ..=../ subdir_lib
make[2]: Entrando no diretório `/glibc-tmp-58dd5b4a0ace409e4e425423ca60139d/glibc-2.12.1/csu'
make[2]: Saindo do diretório `/glibc-tmp-58dd5b4a0ace409e4e425423ca60139d/glibc-2.12.1/csu'
make[2]: Entrando no diretório `/glibc-tmp-58dd5b4a0ace409e4e425423ca60139d/glibc-2.12.1/csu'
../Makeconfig:85: ../x86_64/config.make: Arquivo ou diretório não encontrado
/bin/sh: line 0: cd: ../x86_64: Arquivo ou diretório não encontrado
The GNU C library has not been configured.
Run `configure' to configure it before building.
Try `configure --help' for more details.
make[2]: *** Sem regra para processar o alvo `../x86_64/config.status', necessário por `../x86_64/config.make'. Pare.
make[2]: Saindo do diretório `/glibc-tmp-58dd5b4a0ace409e4e425423ca60139d/glibc-2.12.1/csu'
make[1]: ** [csu/subdir_lib] Erro 2
make[1]: Saindo do diretório `/glibc-tmp-58dd5b4a0ace409e4e425423ca60139d/glibc-2.12.1'
make: ** [all] Erro 2
|
feck =[
|
|
|
|
10-08-2010, 05:41 PM
|
#27
|
|
Member
Registered: Apr 2009
Distribution: Slackware
Posts: 450
Rep:
|
sorry spamming this way, but I was tricked by the error as the package was built before. it seems to call some files that are inside ".../glibc-2.12.1/build-glibc-2.12.1/", but looking at them inside "/glibc-2.12.1/x86_64/" like 'config.make':
../Makeconfig:85: ../x86_64/config.make: Arquivo ou diretório não encontrado
Makeconfig
84 # Get the values defined by options to `configure'.
85 include $(common-objpfx)config.make
edit: built =]
found this inside Makeconfig:
# If config.make exists, the source directory was configured,
# so don't try to be clever and find another directory to build in.
in the end, the solution was to compile it without the "target" dir. this script (from Slackware) worked here.
ps: I added the patch to 'make-3.82' and my flags are to x86_64 without multilib. sorry all this mess...
ps2: pump your numjobs (NUMJOBS=${NUMJOBS:--j2}) if needed. good luck.
Last edited by BrZ; 10-08-2010 at 09:39 PM.
Reason: add more info and not spawn another post
|
|
|
|
10-18-2010, 05:24 PM
|
#28
|
|
Member
Registered: Feb 2010
Distribution: Slackware
Posts: 87
Rep:
|
Could you please post exactly what you did to fix your problems?
I'm having a very similar issue if not, the same thing. Also the reason I'm recompiling glibc is because I'm changing my host cpu from i486 to pentium4 (my cpu is actually a prescott cpu but prescott isn't a valid identifier so...)
So I compiled my first pass of glibc 2.12.1 successfully with the make version patch for newer versions of make and also after omitting the $TARGET-slackware-linux option under ./configure. Ran the slackbuild with no problems, then installed glibc with gcc 4.5.1. So first pass was successfull but I had to omit $TARGET-slackware-linux.
So I went through my second pass of binutils and installed, second stage 3 pass of gcc, installed gcc, but my second pass of glibc is just giving me hell about the chost and it looks just like your very last problem you had after the make version patch. It's either configure or make causing this issue but I didn't understand how you fixed that very last part.
This is what I get :
../Makeconfig:85: ../pentium4/config.make: No such file or directory
/bin/sh: line 0: cd: ../pentium4: No such file or directory
The GNU C library has not been configured.
Run `configure' to configure it before building.
Try `configure --help' for more details.
make[2]: *** No rule to make target `../pentium4/config.status', needed by `../pentium4/config.make'. Stop.
make[2]: Leaving directory `/glibc-tmp-397c89eb601b863a64d78fd789c4ecb9/glibc-2.12.1/iconvdata'
make[1]: *** [iconvdata/subdir_lib] Error 2
make[1]: Leaving directory `/glibc-tmp-397c89eb601b863a64d78fd789c4ecb9/glibc-2.12.1'
make: *** [all] Error 2
make -r PARALLELMFLAGS="" CVSOPTS="" -C .. objdir=`pwd` all
make[1]: Entering directory `/glibc-tmp-397c89eb601b863a64d78fd789c4ecb9/glibc-2.12.1'
make subdir=csu -C csu ..=../ subdir_lib
make[2]: Entering directory `/glibc-tmp-397c89eb601b863a64d78fd789c4ecb9/glibc-2.12.1/csu'
make[2]: Leaving directory `/glibc-tmp-397c89eb601b863a64d78fd789c4ecb9/glibc-2.12.1/csu'
make[2]: Entering directory `/glibc-tmp-397c89eb601b863a64d78fd789c4ecb9/glibc-2.12.1/csu'
../Makeconfig:85: ../pentium4/config.make: No such file or directory
/bin/sh: line 0: cd: ../pentium4: No such file or directory
The GNU C library has not been configured.
Run `configure' to configure it before building.
Try `configure --help' for more details.
make[2]: *** No rule to make target `../pentium4/config.status', needed by `../pentium4/config.make'. Stop.
make[2]: Leaving directory `/glibc-tmp-397c89eb601b863a64d78fd789c4ecb9/glibc-2.12.1/csu'
make[1]: *** [csu/subdir_lib] Error 2
make[1]: Leaving directory `/glibc-tmp-397c89eb601b863a64d78fd789c4ecb9/glibc-2.12.1'
make: *** [all] Error 2
When Glibc had this problem in the first pass. I took out the $TARGET-slackware-linux line under ./configure (in the slackbuild) and it went fine (not that I wanted to do that but oh well). Now it just doesn't care and it keeps on giving me this error no matter what! I've also used --build=pentium4-slackware-linux and --host=pentium4-slackware-linux. I've combined both or all 3 options in different combinations and it just doesn't wanna do the second pass.
Last edited by Holering; 10-18-2010 at 05:32 PM.
|
|
|
|
10-18-2010, 06:19 PM
|
#29
|
|
Member
Registered: Apr 2009
Distribution: Slackware
Posts: 450
Rep:
|
I think the safe way is to look here.
|
|
|
|
10-18-2010, 07:27 PM
|
#30
|
|
Member
Registered: Feb 2010
Distribution: Slackware
Posts: 87
Rep:
|
Nevermind just successfully built glibc with new host! It was a simple fix (or add on). Just had to add line | ln -s build-glibc-$VERSION $ARCH | right before | cd build-glibc-$VERSION || exit 1 | in the glibc.SlackBuild.
This should help the previous poster who had trouble with his chost and anyone else changing and/or building their slackware system from source code.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 02:26 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
|
|