Fedora Linux Support Community & Resources Center
  #1  
Old 28th August 2011, 11:45 PM
sea Offline
"Shells" (of a sub world)
 
Join Date: May 2011
Location: Confoederatio Helvetica (Swissh)
Age: 34
Posts: 3,487
linuxfirefox
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
__________________
Laptop: Toshiba satellite p50-a-11 CPU: Intel i7 8*2400 MHz GPU: GeForce GT 745M RAM: 8192 MB Distro: Fedora (Rawhide) DE: Awesome
Text User Interface (TUI) // Windows 8+ & Fedora 20+ Dualboot

Last edited by sea; 28th August 2011 at 11:49 PM.
Reply With Quote
  #2  
Old 29th August 2011, 01:10 AM
Oxyd Offline
Registered User
 
Join Date: Dec 2004
Location: Prague, Czech Republic
Age: 26
Posts: 7
linuxchrome
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.
Reply With Quote
  #3  
Old 29th August 2011, 02:21 AM
RupertPupkin Offline
Registered User
 
Join Date: Nov 2006
Location: Detroit
Posts: 5,685
linuxfedorafirefox
Re: Building from source, problem with gtk+ during configure/make

Quote:
Originally Posted by Oxyd View Post
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.
Reply With Quote
  #4  
Old 29th August 2011, 10:41 AM
sea Offline
"Shells" (of a sub world)
 
Join Date: May 2011
Location: Confoederatio Helvetica (Swissh)
Age: 34
Posts: 3,487
linuxfirefox
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 -"$seatt/svn" && echo -e $title
        
else seamkdir "$seatt/svn" && seaheader $title
    fi
doneSVN
() {        # | Print output depending on success
            
case $1 in 
                0
)    echo -"# | Successfully created $2 \t${greenf}✔ ${reset}&& donegood="$donegood $2"    ;;
                
1)    echo -"# | 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 [ ! -"$1" ]
                
then echo -"./$1 does not exists...\nRetrieving data..." && svn co https://$1.svn.sourceforge.net/svnroot/$1 $1
                
else echo -"./$1 SVN exists...\nStart building..."
            
fi
            
            sudo chown $USER 
$-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 -"\n# | Failed with: "
            
for i in $leftouts ; do
                echo -
"\t$i"
            
done
            i
=""    # | List suceed packages
            
echo -"\n# | Suceed with: "
            
for i in $donegood ; do
                echo -
"\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 		✘
__________________
Laptop: Toshiba satellite p50-a-11 CPU: Intel i7 8*2400 MHz GPU: GeForce GT 745M RAM: 8192 MB Distro: Fedora (Rawhide) DE: Awesome
Text User Interface (TUI) // Windows 8+ & Fedora 20+ Dualboot

Last edited by sea; 29th August 2011 at 02:04 PM.
Reply With Quote
  #5  
Old 29th August 2011, 10:57 AM
giulix Offline
"Fixed" by (vague) request
 
Join Date: Oct 2005
Location: GMT+ 1
Posts: 2,950
linuxfirefox
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
Reply With Quote
  #6  
Old 29th August 2011, 12:22 PM
sea Offline
"Shells" (of a sub world)
 
Join Date: May 2011
Location: Confoederatio Helvetica (Swissh)
Age: 34
Posts: 3,487
linuxfirefox
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
__________________
Laptop: Toshiba satellite p50-a-11 CPU: Intel i7 8*2400 MHz GPU: GeForce GT 745M RAM: 8192 MB Distro: Fedora (Rawhide) DE: Awesome
Text User Interface (TUI) // Windows 8+ & Fedora 20+ Dualboot

Last edited by sea; 29th August 2011 at 12:34 PM.
Reply With Quote
  #7  
Old 29th August 2011, 12:40 PM
Dangermouse Offline
Administrator - (On Leave)
 
Join Date: Aug 2007
Location: London Postbox (the red one)
Age: 49
Posts: 3,864
linuxfirefox
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..
Reply With Quote
  #8  
Old 29th August 2011, 12:46 PM
sea Offline
"Shells" (of a sub world)
 
Join Date: May 2011
Location: Confoederatio Helvetica (Swissh)
Age: 34
Posts: 3,487
linuxfirefox
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.
__________________
Laptop: Toshiba satellite p50-a-11 CPU: Intel i7 8*2400 MHz GPU: GeForce GT 745M RAM: 8192 MB Distro: Fedora (Rawhide) DE: Awesome
Text User Interface (TUI) // Windows 8+ & Fedora 20+ Dualboot

Last edited by sea; 29th August 2011 at 02:03 PM.
Reply With Quote
  #9  
Old 29th August 2011, 12:46 PM
Dangermouse Offline
Administrator - (On Leave)
 
Join Date: Aug 2007
Location: London Postbox (the red one)
Age: 49
Posts: 3,864
linuxfirefox
Re: Building from source, problem with gtk+ during configure/make

Quote:
Originally Posted by sea View Post
Anyone has a list of required libs/packages that are required to compile LXDE?
yum install @development-tools @development-libs
Reply With Quote
  #10  
Old 29th August 2011, 01:14 PM
sea Offline
"Shells" (of a sub world)
 
Join Date: May 2011
Location: Confoederatio Helvetica (Swissh)
Age: 34
Posts: 3,487
linuxfirefox
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.
__________________
Laptop: Toshiba satellite p50-a-11 CPU: Intel i7 8*2400 MHz GPU: GeForce GT 745M RAM: 8192 MB Distro: Fedora (Rawhide) DE: Awesome
Text User Interface (TUI) // Windows 8+ & Fedora 20+ Dualboot

Last edited by sea; 29th August 2011 at 01:30 PM.
Reply With Quote
  #11  
Old 29th August 2011, 01:30 PM
leigh123linux
Guest
 
Posts: n/a
linuxredhatfirefox
Re: Building from source, problem with gtk+ during configure/make

Quote:
Originally Posted by sea View Post
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
Reply With Quote
  #12  
Old 29th August 2011, 01:32 PM
sea Offline
"Shells" (of a sub world)
 
Join Date: May 2011
Location: Confoederatio Helvetica (Swissh)
Age: 34
Posts: 3,487
linuxfirefox
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
__________________
Laptop: Toshiba satellite p50-a-11 CPU: Intel i7 8*2400 MHz GPU: GeForce GT 745M RAM: 8192 MB Distro: Fedora (Rawhide) DE: Awesome
Text User Interface (TUI) // Windows 8+ & Fedora 20+ Dualboot
Reply With Quote
  #13  
Old 29th August 2011, 01:39 PM
leigh123linux
Guest
 
Posts: n/a
linuxredhatfirefox
Re: Building from source, problem with gtk+ during configure/make

Quote:
Originally Posted by sea View Post
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
Reply With Quote
  #14  
Old 29th August 2011, 02:01 PM
sea Offline
"Shells" (of a sub world)
 
Join Date: May 2011
Location: Confoederatio Helvetica (Swissh)
Age: 34
Posts: 3,487
linuxfirefox
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
__________________
Laptop: Toshiba satellite p50-a-11 CPU: Intel i7 8*2400 MHz GPU: GeForce GT 745M RAM: 8192 MB Distro: Fedora (Rawhide) DE: Awesome
Text User Interface (TUI) // Windows 8+ & Fedora 20+ Dualboot

Last edited by sea; 30th September 2014 at 02:08 AM.
Reply With Quote
  #15  
Old 29th August 2011, 02:14 PM
DBelton Offline
Administrator
 
Join Date: Aug 2009
Posts: 7,320
linuxfirefox
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?
Reply With Quote
Reply

Tags
building, configure or make, gtk, problem, source

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
help building from source rpm... AaronJAnderson Programming & Packaging 7 21st April 2011 02:32 PM
Building pidgin from source daviddoria Using Fedora 4 10th July 2009 10:17 PM
Building from Source: UIRA SumDeus Using Fedora 7 29th May 2006 06:39 AM
building from source.... jon bryan Mac Chat 2 16th July 2005 08:53 PM


Current GMT-time: 12:45 (Friday, 24-10-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
Santa Rita do Sapucai Photos on Instagram - Ventspils Travel Photos on Instagram - Tuguegarao City Photos