LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-17-2003, 03:20 AM   #1
Fermat
LQ Newbie
 
Registered: Mar 2003
Location: North East of England
Distribution: Fedora (FC5)
Posts: 13

Rep: Reputation: 0
Missing Rules


I've been trying to install DevHelp and along the way I'm having to take into account a lot of dependencies - quite a lot! The last dependency I tried to install was 'glibc-linuxthreads-2.3.tar.gz'.
I opened the tarball and then cd'd into the directory 'glibc-linuxthreads-2.3'. I did ./configure, but when I did make I got two error messages,

Makefile:53: ../Makeconfig: No such file or directory
Makefile:77: ../Rules: No such file or directory

I looked inside Makefile and found these two lines,

include ../Makeconfig
...
include ../Rules

Now that means that make was looking for the files Makeconfig and Rules in the parent directory. I checked and found that there no such files there. There was a file Makeconfig in the current directory, i.e.'glibc-linuxthreads-2.3' but no Rules.

1) Shouldn't they both be in the current directory?
2) Makefile creates Makeconfig but what creates Rules?

Since I was inside Makefile I adjusted 'include ../Makeconfig' to 'include Makeconfig' and commented out the line 'include ../Rules'. Then the error message was,

make: *** No rule to make target `crti.o', needed by `libpthread.so'. Stop.

3) How can I get past this problem?

TIA
 
Old 03-17-2003, 07:30 AM   #2
niknah
Member
 
Registered: Dec 2002
Location: In front of a computer
Distribution: UPS, DHL, FedEx
Posts: 466

Rep: Reputation: 38
where does it say you need glibc-linuxthreads?
If it's the rpm, then you may already have it, it maybe included in glibc.

glibc-linuxthreads usually comes with glibc, you need the rest of glibc to compile it, the Makeconfig,Rules files come from glibc.
 
Old 03-17-2003, 12:01 PM   #3
Dark_Helmet
Senior Member
 
Registered: Jan 2003
Posts: 2,786

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
Don't quote me on this, but I believe the linuxthreads source code is supposed to be unpacked inside the source code for the kernel. At least, I believe that's what the LFS book has you do. I would imagine that both the files it's looking for are either included in the kernel source, or created once you configure it.

It may mention something about that in the INSTALL file...
 
Old 03-17-2003, 12:14 PM   #4
Fermat
LQ Newbie
 
Registered: Mar 2003
Location: North East of England
Distribution: Fedora (FC5)
Posts: 13

Original Poster
Rep: Reputation: 0
Hi, I think I messed up again . I just noticed, you suggested gtk+2-devel-2.0.6 and I have been working with gtk2-devel-2.0.6. Here's how I got to the linuxthreads thing.

I downloaded gtk2-devel-2.0.6-10.i386.rpm. It had dependencies,
gtk2
pango-devel
atk-devel

I downloaded pango-devel-1.1.1-1.i386.rpm. It had dependencies,
libfontconfig.so.1
libXft.so.2

I downloaded fontconfig-2.0.3-3.i386.rpm. It had dependencies,
freetype
libc.so.6(GLIB_2.3)

and libc.so.6(GLIB_2.3) is found in glibc-2.3.tar.gz. I downloaded and 'detarred' this and ran ./configure in the source directory and got this final message. (I'm not sure if the first two lines are relevant)

running configure fragment for ./sysdeps/i386/elf
running configure fragment for ./sysdeps/unix/sysv/linux
checking installed Linux kernel header files... 2.0.10 or later
*** On GNU/Linux systems it is normal to compile GNU libc with the
*** `linuxthreads' add-on. Without that, the library will be
*** incompatible with normal GNU/Linux systems.
*** If you really mean to not use this add-on, run configure again
*** using the extra parameter `--disable-sanity-checks'.

Now I ran make and got these error messages,

[root@localhost glibc-2.3]# make
Makeconfig:84: sysdeps/../config.make: No such file or directory
Makerules:694: no file name for `include'
The GNU C library has not been configured.
Run `configure' to configure it before building.
Try `configure --help' for more details.
make: *** [sysdeps/../config.status] Error 1

So, I thought the final message from ./configure was some kind of error, so I thought I might get rid of it if I installed the linuxthreads thing. Besides it was on the same web page that I downloaded glibc-2.3.tar.gz.from.

Well. that's how I got where I am, but now I see I should have got gtk+2-devel, so I'll go and get that and try again.
 
Old 03-17-2003, 12:21 PM   #5
Fermat
LQ Newbie
 
Registered: Mar 2003
Location: North East of England
Distribution: Fedora (FC5)
Posts: 13

Original Poster
Rep: Reputation: 0
>>It may mention something about that in the INSTALL file...

I found this in the README file,

INSTALLATION:

- Edit the Makefile, set the variables in the "Configuration" section.

- Do "make".

- Do "make install"

I edited Makefile, as I explained, but I've no idea what variables I should set, how to set them (what to), or even how to recognise them.
 
Old 03-18-2003, 06:59 AM   #6
niknah
Member
 
Registered: Dec 2002
Location: In front of a computer
Distribution: UPS, DHL, FedEx
Posts: 466

Rep: Reputation: 38
find a glibc rpm, glibc is a big program, it's going to take the whole day to compile it.
 
Old 03-19-2003, 02:46 AM   #7
Fermat
LQ Newbie
 
Registered: Mar 2003
Location: North East of England
Distribution: Fedora (FC5)
Posts: 13

Original Poster
Rep: Reputation: 0
Thanks, I'll go hunt it out.
 
  


Reply


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
my rules arong Linux - Newbie 2 11-03-2003 04:55 PM
my rules arong Linux - Networking 1 11-03-2003 03:18 PM
This OS rules! Pcghost General 7 03-27-2003 02:11 PM
Rules trickykid LQ Suggestions & Feedback 23 08-05-2002 03:00 AM
Viruses, ipchains, dynamic rules, rules with regular expressions marktaff Linux - Security 2 09-25-2001 05:01 AM


All times are GMT -5. The time now is 02:20 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration