LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-22-2006, 03:54 AM   #16
lunlun
Member
 
Registered: Jul 2005
Posts: 41

Rep: Reputation: 15

Hi, im a newb and im also using Fedeora core 5

Is there anyway to install programs in a different directory on yum??

i tried

"yum --installroot=/home -y install acroread openldap openldap-devel"

but it gave me some weird error message

sth like "Cannot open/read repomd.xml file for repository: dries
failure: repodata/repomd.xml from dries: [Errno 256] No more mirrors to try.
Error: failure: repodata/repomd.xml from dries: [Errno 256] No more mirrors to try."


I want to install programs on a different directory because my "/usr" is full, and because i am using ext3 as my filesystem, qtparted(knoppix) does not allow me to resize my partition.?
 
Old 05-23-2006, 10:04 AM   #17
mrHoff
LQ Newbie
 
Registered: May 2006
Location: Norway
Distribution: Fedora Core 5
Posts: 9

Original Poster
Rep: Reputation: 0
thanks again for all the help, and apologies for the late reply I took a break from Linux a few days!

So experimenting more around the problem of innstalling this 3Dpong thing.

The url we're talking about is:

http://directory.fsf.org/games/

and 3dpong is the first one.


I kind of liked thisisquincyorjim's procedural approach to the problem, but after extracting the tarball and navigating to the 3dpong directory, the approach broke down at point 8 when typing "./configure". This produced:

bash: ./configure: No such file or directory

I think Nylex is right that not all source packages have a configure script - and I think 3dpong might be an example of one that does not. It does have README and INSTALL files though, and in these it is suggested I type "make" or "make install".


However, typing "make" or "make install" still produces long lists of errors. The most interesting feedback from typing this is the first line:

gcc -I/usr/X11R6/include src/3dpong.c -c -o obj/3dpong.o

I can see that this must have been produced in the makefile. Since,
[Extracts from the makefile:]
Code:
CC=gcc
CFLAGS=-I/usr/X11R6/include
[...]
obj/3dpong.o:	src/3dpong.c src/window.h src/connect.h src/hints.h \
		src/visual.h src/gc.h src/color.h src/randnum.h src/text.h
$(CC)	$(CFLAGS) src/3dpong.c -c -o obj/3dpong.o
Now, turning to farpoint's extremely helpful reply, I think he is right that I'm missing some development packages to get this done. Because, I don't have any directory called usr/X11R6/include. (I do have one called usr/X11R6/bin though)

But, when I try to install development packages through the add/remove package utility in GNOME, I don't know what to install. There is one category called "Development Libraries" that contain 30 packages, and there is another category called "Development Tools" that contain 73 packages! Browsing through these most of them don't look like anything I need, neither do I understand what most of these ARE. So what should I install??

I was wondering what exactly this line is doing:
gcc -I/usr/X11R6/include src/3dpong.c -c -o obj/3dpong.o
is -I/usr/X11R6/include an attribute, is it pointing to a directory, what is the -I? Is it attempting to make a obj/3dpong.o file?

An additional question is where the c library files reside? Is studio.h a physical file on the machine? Why doesn't typing

ls studio.h -R

work?

thanks again my linux friends
 
  


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
A basic idea about installing nirav1983 Linux - Newbie 4 12-22-2005 05:23 AM
Installing older gcc. Bad idea? Surg Debian 1 11-14-2005 11:53 AM
Fresh Idea for Linux and stuff for improving Fedora Core Ver. etc.. maximalred Fedora 1 05-27-2005 03:25 PM
Installing IDEA and jdk shahnazyousuf Linux - Software 1 12-29-2004 02:14 AM
When installing new stuff in suse 9.1, do you uninstall old stuff first? randon SUSE / openSUSE 1 12-25-2004 05:37 PM


All times are GMT -5. The time now is 04:36 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