 |
 |
 |
 |
| Programming & Packaging A place to discuss programming and packaging. |

28th August 2011, 11:45 PM
|
 |
"Shells" (of a sub world)
|
|
Join Date: May 2011
Location: Helvetic Federation (Swissh)
Age: 33
Posts: 2,602

|
|
|
Building from source, problem with gtk+ during configure/make
Heyas
I try to build some SVN's from sourceforge, sadly most of the files cant be compiled, because gtk2 is missing, but yum says its installed..
Quote:
|
Originally Posted by configure
checking pkg-config is at least version 0.9.0... yes
checking for LXMUSIC... no
configure: error: Package requirements (gtk+-2.0 >= 2.14.0
gmodule-export-2.0 >= 2.0
xmms2-client >= 0.6
xmms2-client-glib >= 0.6) were not met:
No package 'gtk+-2.0' found
No package 'xmms2-client' found
No package 'xmms2-client-glib' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables LXMUSIC_CFLAGS
and LXMUSIC_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
# | check make
make: *** No targets specified and no makefile found. Stop.
# | make failed
# | check make install
make: *** No rule to make target `install'. Stop.
# | Failed creating /tmp/sea/svn/lxde/trunk/lxmusic ✘
|
Quote:
|
Originally Posted by yum
$ sudo yum install gtk+
[sudo] password for simon:
rpmfusion-free-updates | 2.7 kB 00:00
rpmfusion-nonfree-updates | 2.7 kB 00:00
skype | 1.2 kB 00:00
updates/metalink | 27 kB 00:00
virtualbox | 951 B 00:00
Setting up Install Process
Package 1:gtk+-1.2.10-71.fc15.x86_64 already installed and latest version
Nothing to do
|
__________________
Fedora Manual: http://docs.fedoraproject.org
Script-Tools: https://sourceforge.net/projects/script-tools/
sudo st tweak repo toggle fedora-rawhide ; st iso dl-fed -respin && st iso usb
Last edited by sea; 28th August 2011 at 11:49 PM.
|

29th August 2011, 01:10 AM
|
|
Registered User
|
|
Join Date: Dec 2004
Location: Prague, Czech Republic
Age: 25
Posts: 7

|
|
|
Re: Building from source, problem with gtk+ during configure/make
Quote:
configure: error: Package requirements (gtk+-2.0 >= 2.14.0
gmodule-export-2.0 >= 2.0
xmms2-client >= 0.6
xmms2-client-glib >= 0.6) were not met:
No package 'gtk+-2.0' found
No package 'xmms2-client' found
No package 'xmms2-client-glib' found
|
You need GTK+ 2 (2.14 or higher). You have GTK+ 1 (1.2.10 to be precise).
Try yum install gtk2.
|

29th August 2011, 02:21 AM
|
 |
Registered User
|
|
Join Date: Nov 2006
Location: Detroit
Posts: 4,617

|
|
|
Re: Building from source, problem with gtk+ during configure/make
Quote:
Originally Posted by Oxyd
You need GTK+ 2 (2.14 or higher). You have GTK+ 1 (1.2.10 to be precise).
Try yum install gtk2.
|
For compiling he'll need the gtk2-devel package. And from the other error messages he'll probably need the xmms2-devel package as well.
Last edited by RupertPupkin; 29th August 2011 at 02:24 AM.
|

29th August 2011, 10:41 AM
|
 |
"Shells" (of a sub world)
|
|
Join Date: May 2011
Location: Helvetic Federation (Swissh)
Age: 33
Posts: 2,602

|
|
|
Re: Building from source, problem with gtk+ during configure/make
After installing gtk2, gtk2-devel, xmms2-devel, i tried again. Yesterday evening it didnt found a gtk2 package, now i was told its already installed too 
It feels weird, like it would complile less than previous, as it "finished" way faster
PHP Code:
#!/bin/bash
# ---------------------------------------------------------------------------------------
# | Project sea: Package of small scripts for an easy set up of linux uses |
# | Description: Installs LXDE from sourceforge to your current system |
# | Script by: Simon A. Erat (sea) |
# | Contact: http://forums.fedoraforum.org/member.php?u=183882 (sea) |
# | Date (created): 2011.08.19 ( year / month / day ) |
# | Date (Changed): 2011.08.28 |
# | FileVersion: 0.3 |
# | Resource: http://forums.fedoraforum.org/showthread.php?t=269001 |
# ---------------------------------------------------------------------------------------
# |
# | Subs
isDemo=true
title="sea LXDE Update \t\t\t\t\t\t\t"
if $isDemo
then seatt="/tmp" && mkdir -p "$seatt/svn" && echo -e $title
else seamkdir "$seatt/svn" && seaheader $title
fi
doneSVN() { # | Print output depending on success
case $1 in
0) echo -e "# | Successfully created $2 \t${greenf}✔ ${reset}" && donegood="$donegood $2" ;;
1) echo -e "# | Failed creating $2 \t\t${redf}✘ ${reset}" && leftouts="$leftouts $2" ;;
esac
sleep 2
}
souvegnir() { # | Get a local copy and create it
leftouts="" # | list with packages failed
donegood="" # | list with packages suceed
cd "$seatt/svn"
if [ ! -d "$1" ]
then echo -e "./$1 does not exists...\nRetrieving data..." && svn co https://$1.svn.sourceforge.net/svnroot/$1 $1
else echo -e "./$1 SVN exists...\nStart building..."
fi
sudo chown $USER $1 -R
cd "$1/trunk"
svnroot="$seatt/svn/$1/trunk"
for folders in "$svnroot"/* ; do # to remove 'php' wrong code color */
cutVal=${#svnroot}+1
trimFold="${folders:cutVal}"
echo "# | Change to $folders" && cd $folders
echo "# | Check for autogen.sh" && "./autogen.sh" || echo "# | * autogen.sh not found"
echo "# | Check for install-sh" && "./install-sh" || echo "# | * install-sh not found"
echo "# | Check for configure" && "./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/libexec --enable-man" || "./configure" || echo "# | * FATAL error with ./configure"
echo "# | check make" && make || echo "# | * make failed"
echo "# | check make install" && sudo make install && doneSVN "0" "$trimFold" || doneSVN "1" "$trimFold"
done
i="" # | List failed packages
echo -e "\n# | Failed with: "
for i in $leftouts ; do
echo -e "\t$i"
done
i="" # | List suceed packages
echo -e "\n# | Suceed with: "
for i in $donegood ; do
echo -e "\t$i"
done
}
# |
# | Actualy install LXDE components
# |
souvegnir lxde # | LXDE Core
#souvegnir lxmed # | LXDE Menu Editor
#souvegnir lxkc # | LXDE Keyboard Configs
This is how the 'errror' looks like
Code:
# | sea LXDE Update | #
./lxde SVN exists...
Start building...
# | Change to /tmp/sea/svn/lxde/trunk/devtools
# | Check for autogen.sh
# | Check for install-sh
# | Check for configure
# | check make
make: *** No targets specified and no makefile found. Stop.
# | * make failed
# | check make install
make: *** No rule to make target `install'. Stop.
# | Failed creating /tmp/sea/svn/lxde/trunk/devtools ✘
__________________
Fedora Manual: http://docs.fedoraproject.org
Script-Tools: https://sourceforge.net/projects/script-tools/
sudo st tweak repo toggle fedora-rawhide ; st iso dl-fed -respin && st iso usb
Last edited by sea; 29th August 2011 at 02:04 PM.
|

29th August 2011, 10:57 AM
|
 |
"Fixed" by (vague) request
|
|
Join Date: Oct 2005
Location: GMT+ 1
Posts: 2,950

|
|
|
Re: Building from source, problem with gtk+ during configure/make
What are you trying to do, anyway? Unless that's some software to detonate an atomic bomb, I suggest you post a link to it, too
|

29th August 2011, 12:22 PM
|
 |
"Shells" (of a sub world)
|
|
Join Date: May 2011
Location: Helvetic Federation (Swissh)
Age: 33
Posts: 2,602

|
|
|
Re: Building from source, problem with gtk+ during configure/make
Source code is posted in above post #4
And it should "simply" download LXDE from SVN, then compile it.
---------- Post added at 11:22 AM ---------- Previous post was at 11:11 AM ----------
Ok, replaced "&& test " with "&&" and it works, at least part wise..
Quote:
# | Failed creating /trans-purge ✘
# | Failed with: /devtools
# | Failed with: /gpicview
# | Failed with: /lxappearance
# | Failed with: /lxconf
# | Failed with: /lxde-common
# | Failed with: /lxdm
# | Failed with: /lxinput
# | Failed with: /lxlauncher
# | Failed with: /lxmusic
# | Failed with: /lxnm
# | Failed with: /lxnm-applet
# | Failed with: /lxpanel
# | Failed with: /lxpanel-plugins
# | Failed with: /lxrandr
# | Failed with: /lxsession
# | Failed with: /lxterminal
# | Failed with: /trans-purge
# | Suceed with: /gtknetcat
# | Suceed with: /lxde-icon-theme
# | Suceed with: /lxmenu-data
# | Suceed with: /lxsession-edit
# | Suceed with: /lxshortcut
# | Suceed with: /lxtask
# | Suceed with: /menu-cache
|
__________________
Fedora Manual: http://docs.fedoraproject.org
Script-Tools: https://sourceforge.net/projects/script-tools/
sudo st tweak repo toggle fedora-rawhide ; st iso dl-fed -respin && st iso usb
Last edited by sea; 29th August 2011 at 12:34 PM.
|

29th August 2011, 12:40 PM
|
 |
Administrator
|
|
Join Date: Aug 2007
Location: London Postbox (the red one)
Age: 47
Posts: 3,847

|
|
|
Re: Building from source, problem with gtk+ during configure/make
Id fix the source code first, from what i can tell there is several errors seamkdir "$seatt/svn" etc etc..
|

29th August 2011, 12:46 PM
|
 |
"Shells" (of a sub world)
|
|
Join Date: May 2011
Location: Helvetic Federation (Swissh)
Age: 33
Posts: 2,602

|
|
|
Re: Building from source, problem with gtk+ during configure/make
Found another missing package:
Quote:
configure: error: Package requirements (glib-2.0 >= 2.6.0 gthread-2.0 vte) were not met:
---------------------------------------------------------------------
[simon@L670 ~]$ sudo yum install vte
[sudo] password for simon:
Setting up Install Process
Package vte-0.28.1-1.fc15.x86_64 already installed and latest version
Nothing to do
|
Anyone has a list of required libs/packages that are required to compile LXDE?
So far i have:
Quote:
|
seayum "gcc-c++\t\t\t" "gcc gcc-c++ glib libtool gtk+ gtk+extra gtk2 gtk2-devel xmms-devel xmms2-devel"
|
---------- Post added at 11:46 AM ---------- Previous post was at 11:43 AM ----------
Hi dangermouse
seamkdir, seayum and so forth, are functions that are implemented by my other scripts, and they do work, if available.
By fix the code you mean, so you can copy paste test it?
Ok fixed that 1 line.
__________________
Fedora Manual: http://docs.fedoraproject.org
Script-Tools: https://sourceforge.net/projects/script-tools/
sudo st tweak repo toggle fedora-rawhide ; st iso dl-fed -respin && st iso usb
Last edited by sea; 29th August 2011 at 02:03 PM.
|

29th August 2011, 12:46 PM
|
 |
Administrator
|
|
Join Date: Aug 2007
Location: London Postbox (the red one)
Age: 47
Posts: 3,847

|
|
|
Re: Building from source, problem with gtk+ during configure/make
Quote:
Originally Posted by sea
Anyone has a list of required libs/packages that are required to compile LXDE?
|
yum install @development-tools @development-libs
|

29th August 2011, 01:14 PM
|
 |
"Shells" (of a sub world)
|
|
Join Date: May 2011
Location: Helvetic Federation (Swissh)
Age: 33
Posts: 2,602

|
|
|
Re: Building from source, problem with gtk+ during configure/make
Ok after installing these packages (~350mb), and modified code a little bit (updated in post #4)
It still doesnt look much better
Code:
# | Failed with:
/devtools
/gpicview
/lxappearance
/lxconf
/lxde-common
/lxdm
/lxinput
/lxlauncher
/lxmusic
/lxnm
/lxnm-applet
/lxpanel
/lxpanel-plugins
/lxrandr
/lxsession
/lxterminal
/trans-purge
# | Suceed with:
/gtknetcat
/lxde-icon-theme
/lxmenu-data
/lxsession-edit
/lxshortcut
/lxtask
/menu-cache
As there is still something missing:
Quote:
|
configure: error: Package requirements (glib-2.0 >= 2.6.0 gthread-2.0 vte) were not met:
|
vte is already installed (repo hasnt got a higher version available  ) and yum search ghtread results with nothing found.
__________________
Fedora Manual: http://docs.fedoraproject.org
Script-Tools: https://sourceforge.net/projects/script-tools/
sudo st tweak repo toggle fedora-rawhide ; st iso dl-fed -respin && st iso usb
Last edited by sea; 29th August 2011 at 01:30 PM.
|

29th August 2011, 01:30 PM
|
 |
Retired Administrator
|
|
Join Date: Oct 2006
Posts: 21,509

|
|
|
Re: Building from source, problem with gtk+ during configure/make
Quote:
Originally Posted by sea
Ok after installing these packages (~350mb), and modified code a little bit (updated in post #4)
It still doesnt look much better
As there is still something missing:
vte is already installed (repo hasnt got a higher version available  ) and yum search ghtread results with nothing found.
|
I believe the error is due to missing glib2-devel
|

29th August 2011, 01:32 PM
|
 |
"Shells" (of a sub world)
|
|
Join Date: May 2011
Location: Helvetic Federation (Swissh)
Age: 33
Posts: 2,602

|
|
|
Re: Building from source, problem with gtk+ during configure/make
Obviously that missing glib2-devel is not installed with the dev-packages, hence thats why's missing..
Hmm nope:
sudo yum install glib2-devel
[sudo] password for simon:
Setting up Install Process
Package glib2-devel-2.28.8-1.fc15.x86_64 already installed and latest version
Nothing to do
__________________
Fedora Manual: http://docs.fedoraproject.org
Script-Tools: https://sourceforge.net/projects/script-tools/
sudo st tweak repo toggle fedora-rawhide ; st iso dl-fed -respin && st iso usb
|

29th August 2011, 01:39 PM
|
 |
Retired Administrator
|
|
Join Date: Oct 2006
Posts: 21,509

|
|
|
Re: Building from source, problem with gtk+ during configure/make
Quote:
Originally Posted by sea
Obviously that missing glib2-devel is not installed with the dev-packages, hence thats why's missing..
Hmm nope:
sudo yum install glib2-devel
[sudo] password for simon:
Setting up Install Process
Package glib2-devel-2.28.8-1.fc15.x86_64 already installed and latest version
Nothing to do
|
Try posting the complete error
Code:
checking for LXMUSIC... configure: error: Package requirements (gtk+-2.0 >= 2.14.0
gmodule-export-2.0 >= 2.0
xmms2-client >= 0.7
xmms2-client-glib >= 0.7) were not met:
No package 'xmms2-client' found
No package 'xmms2-client-glib' found
The red lines are the relevant bit
|

29th August 2011, 02:01 PM
|
 |
"Shells" (of a sub world)
|
|
Join Date: May 2011
Location: Helvetic Federation (Swissh)
Age: 33
Posts: 2,602

|
|
|
Re: Building from source, problem with gtk+ during configure/make
As posted above, i've installed the xmms-devel and xmms2-devell packages already, dont find xmms(2)-client packages in yum anyway.
sea sys lxde update >> lxdeupdate.txt
textfile attached
__________________
Fedora Manual: http://docs.fedoraproject.org
Script-Tools: https://sourceforge.net/projects/script-tools/
sudo st tweak repo toggle fedora-rawhide ; st iso dl-fed -respin && st iso usb
|

29th August 2011, 02:14 PM
|
 |
Administrator
|
|
Join Date: Aug 2009
Posts: 6,612

|
|
|
Re: Building from source, problem with gtk+ during configure/make
didn't lxde go to using git instead of svn?
I didn't think the svn tree had been updated in almost 2 years now.
However, why not just install lxde using the version in the fedora repo?
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
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
|
|
|
Current GMT-time: 11:54 (Wednesday, 22-05-2013)
|
|
 |
 |
 |
 |
|
|