HOWTO: Compiling, step by step.

If you are new to YDL and have some more or less basic questions.

Re: HOWTO: Compiling, step by step.

Postby harryroy » 16 Jan 2010, 15:47

Hello everyone
I want Thanks All of for the nice knowledge of How YDL to compile now i an easily compile application ,After try two time finally my application compile properly, so Thanks again all of you
welcome 2010
harryroy
ydl newbie
ydl newbie
 
Posts: 3
Joined: 16 Jan 2010, 13:09

Re: HOWTO: Compiling, step by step.

Postby Noons » 13 Feb 2010, 17:41

ldconfig doesn't seem to be a command any more in ydl 6.2.
I complied glib 2.15.6 successfully in attempts to get pango 1.21.2 to compile but the configure script still errors out on me saying: configure: error:*** Glib 2.14.0 or better is required. I figure the libs are not being found because I could not ldconfig after installing. Has ydl 6.2 changed this command?
Fedora core 12; ps3 CECHA01; samsung 720p plasma; kernel 2.6.32
User avatar
Noons
ydl guru
ydl guru
 
Posts: 300
Joined: 18 Mar 2008, 21:50
Location: Ont. CAN

Re: HOWTO: Compiling, step by step.

Postby Noons » 13 Feb 2010, 18:12

edit: ok I needed to put /sbin/ldconfig in and it worked but pango still cant find glib. Not sure whats going on yet.
Fedora core 12; ps3 CECHA01; samsung 720p plasma; kernel 2.6.32
User avatar
Noons
ydl guru
ydl guru
 
Posts: 300
Joined: 18 Mar 2008, 21:50
Location: Ont. CAN

Re: HOWTO: Compiling, step by step.

Postby juanito » 14 Feb 2010, 07:56

does the location of glib-2.15.6 come before the location of the standard glib in ld.so.conf?

For example, if glib-2.15.6 is in /usr/local/lib,is /usr/local/lib before /usr/lib
juanito
ydl guru
ydl guru
 
Posts: 300
Joined: 30 Jul 2008, 05:30
Location: Dubai, U.A.E.

Re: HOWTO: Compiling, step by step.

Postby otakusupreme » 21 Mar 2010, 14:05

hello all... i did the yum groupinstall 'development tools' and it says no packages in any requested group available to install or update.... dopws that mean i have everything????
otakusupreme
ydl addict
ydl addict
 
Posts: 115
Joined: 14 Mar 2010, 08:23

Re: HOWTO: Compiling, step by step.

Postby ppietro » 21 Mar 2010, 20:40

otakusupreme wrote:hello all... i did the yum groupinstall 'development tools' and it says no packages in any requested group available to install or update.... dopws that mean i have everything????


Maybe. Did you type development tools or Development Tools?

Unlike Windows, Linux is case sensitive. It might not make a difference here - but it might.

Be sure you try this exactly as written:
Code: Select all
yum groupinstall 'Development Tools'


An alternative way to tell is to use the which command to see if the C compiler binary gcc is present. Then, you can ask gcc what version it is. The two commands are:

which gcc
gcc --version


You should see an output similar to the following, if the development libraries are installed.

Code: Select all
[paulp@yurie ~]$ which gcc
/usr/bin/gcc
[paulp@yurie ~]$ gcc --version
gcc (GCC) 4.1.2 20071124 (Red Hat 4.1.2-42)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

[paulp@yurie ~]$



Cheers,
Paul
User avatar
ppietro
Site Admin
Site Admin
 
Posts: 4965
Joined: 13 Sep 2007, 22:18

Re: HOWTO: Compiling, step by step.

Postby CronoCloud » 22 Mar 2010, 14:57

juanito wrote:does the location of glib-2.15.6 come before the location of the standard glib in ld.so.conf?

For example, if glib-2.15.6 is in /usr/local/lib,is /usr/local/lib before /usr/lib


Yes. You'll need /usr/local/lib first.

Ron Rogers Jr. (CronoCloud)
CECHE01 PS3 (MGS4 80GB Bundle) without OtherOS and with an upgraded 320GB HD
Running Fedora 23 on a Compaq Presario CQ5320F upgraded with a Phenom X4 and GT640
Vizio E221A1 22" 1080P TV with HDMI, using 1080P over HDMI
PSN ID: CronoCloudAuron
User avatar
CronoCloud
Moderator
Moderator
 
Posts: 523
Joined: 21 Oct 2006, 05:48
Location: Central Illinois, USA

Group Development Tools does not exist

Postby pablo » 24 Mar 2010, 15:37

I pasted exactly as above
yum groupinstall 'Development Tools'

I am getting

Code: Select all
Loading "installonlyn" plugin
Loading "protectbase" plugin
Setting up Group Process
Warning: Group Development Tools does not exist.
No packages in any requested group available to install or update


:(
Running YDL 6.1 on Image 80GB PS3 Model: CECHE01 *Add your Model # / [GNOME] / Game OS 2.60
List of my Sony Stuff, Still not a fanboy.
User avatar
pablo
ydl guru
ydl guru
 
Posts: 210
Joined: 31 Dec 2007, 01:04
Location: New York City

Re: HOWTO: Compiling, step by step.

Postby pablo » 25 Mar 2010, 20:00

No ideas? :|
Running YDL 6.1 on Image 80GB PS3 Model: CECHE01 *Add your Model # / [GNOME] / Game OS 2.60
List of my Sony Stuff, Still not a fanboy.
User avatar
pablo
ydl guru
ydl guru
 
Posts: 210
Joined: 31 Dec 2007, 01:04
Location: New York City

Re: HOWTO: Compiling, step by step.

Postby ppietro » 25 Mar 2010, 20:34

pablo wrote:No ideas? :|


What's your repo list look like?

Cheers,
Paul
User avatar
ppietro
Site Admin
Site Admin
 
Posts: 4965
Joined: 13 Sep 2007, 22:18

Re: HOWTO: Compiling, step by step.

Postby pablo » 25 Mar 2010, 20:56

Hi Paul,
It has been a while but it is whatever you Billb asked us to update it to in /etc/yum.repos.d/livna-stable.repo &
/etc/yum.repos.d/dribble.repo

I will check these two and report back. Is there anything I should be looking for to make sure I have the correct repos?
Running YDL 6.1 on Image 80GB PS3 Model: CECHE01 *Add your Model # / [GNOME] / Game OS 2.60
List of my Sony Stuff, Still not a fanboy.
User avatar
pablo
ydl guru
ydl guru
 
Posts: 210
Joined: 31 Dec 2007, 01:04
Location: New York City

Re: HOWTO: Compiling, step by step.

Postby ppietro » 25 Mar 2010, 21:29

pablo wrote:Hi Paul,
It has been a while but it is whatever you Billb asked us to update it to in /etc/yum.repos.d/livna-stable.repo &
/etc/yum.repos.d/dribble.repo

I will check these two and report back. Is there anything I should be looking for to make sure I have the correct repos?


Not so much those two - but Yellow Dog Updates and Yellow Dog Base. That's where it's going to load the build tools from. If you're running YDL 6.2, Yellow Dog Extras should be disabled.

Cheers,
Paul
User avatar
ppietro
Site Admin
Site Admin
 
Posts: 4965
Joined: 13 Sep 2007, 22:18

Re: HOWTO: Compiling, step by step.

Postby pablo » 25 Mar 2010, 21:34

Nope, I am still running 6.1
I will do a yum repolist and report back, I will also check the contents to make sure they are OK.
Running YDL 6.1 on Image 80GB PS3 Model: CECHE01 *Add your Model # / [GNOME] / Game OS 2.60
List of my Sony Stuff, Still not a fanboy.
User avatar
pablo
ydl guru
ydl guru
 
Posts: 210
Joined: 31 Dec 2007, 01:04
Location: New York City

Re: HOWTO: Compiling, step by step.

Postby Silgrin4D » 09 Apr 2010, 06:05

I also have a problem with

Code: Select all
./configure


It simply doesnt work. It spits out an error message

Code: Select all
no such file or directory


or sth like (translating). There is really no such a dir there.

Any ideas how to solve? Tried on 2 diff src pkgs of completely independent programs.
Silgrin4D
ydl newbie
ydl newbie
 
Posts: 11
Joined: 05 Apr 2010, 04:24

Re: HOWTO: Compiling, step by step.

Postby ppietro » 09 Apr 2010, 06:53

Silgrin4D wrote:I also have a problem with

Code: Select all
./configure


It simply doesnt work. It spits out an error message

Code: Select all
no such file or directory


or sth like (translating). There is really no such a dir there.

Any ideas how to solve? Tried on 2 diff src pkgs of completely independent programs.


Did you expand the package first?

If you did, did you cd into the resultant directory? Also - not all src packages use autoconf - i.e. configure - although most do.

When in doubt, always check to see if there's any documentation included. There's usually a README file in the archive that explains how to build it.

Cheers,
Paul
User avatar
ppietro
Site Admin
Site Admin
 
Posts: 4965
Joined: 13 Sep 2007, 22:18

PreviousNext

Return to Beginner

Who is online

Users browsing this forum: No registered users and 7 guests