LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   src2pkg FAILURE in configure_source (https://www.linuxquestions.org/questions/slackware-14/src2pkg-failure-in-configure_source-649748/)

rc nai 06-16-2008 06:09 PM

src2pkg FAILURE in configure_source
 
Trying to install gedit for xfce slackware 12.1...I get the following error after I issue the command src2pkg gedit-2.22.3.tar.gz
Code:

# src2pkg gedit-2.22.3.tar.gz
Found source archive: gedit-2.22.3.tar.gz
Creating working directories:
  PKG_DIR=/tmp/gedit-2.22.3-pkg-1
  SRC_DIR=/tmp/gedit-2.22.3-src-1
Unpacking source archive - Done
Correcting source permissions - Done
Checking for patches - None found
Found configure script -
Configuring sources using:
  CFLAGS=-O2 -march=i486 -mtune=i686 ./configure --prefix=/usr
ERROR! Configuring sources has failed!
This usually happens because of missing libraries, or you
may need to pass extra options to configure using EXTRA_CONFIGS.
Sorry! No Dependency or Requirements information found.

src2pkg FAILURE in configure_source

Any ideas on how to fix this error and install gedit?

symatic 06-17-2008 12:22 AM

Have a look at the README included with the source. It is a Gnome app which usually means it will need some libs that are not included with slack.

dive 06-17-2008 12:23 AM

Well first you need to find out the error message in configure. Either turn on all messages and read, or untar the tarball and try configure yourself and find the error that way. You may need to pass extra configure commands to src2pkg.

gnashley 06-17-2008 12:45 AM

You can turn on the verbosity in src2pkg like this:
src2pkg -VV gedit-2.22.3.tar.gz

rc nai 06-17-2008 02:52 AM

cool...

I did a:
tar zxvf gedit-2.22.3.tar.gz

./configure

After that I got this error in the last line:
Code:

configure: error: gnome-doc-utils >= 0.3.2 not found
The readme file says:
Quote:

gedit requires GTK+-2.12.x, GtkSourceView 2.2.x and GNOME 2.16.x libraries.
PyGobject 2.12.x, PyGtk 2.12.x and PyGtkSourceView 2.2.x are required to
enable python plugins support.
The programs listed is what I need to run gedit, right?...Anyway, I hope that's all I need. I'll install it tomorrow and see what happens. For now, gnight.

gnashley 06-17-2008 07:42 AM

You'll probably find that building GNOME 2.16.x libraries requires other things to be built first, although they may not all be required at run-time.

piete 06-17-2008 08:14 AM

For what it's worth, when it comes to gnome library related items, I usually only try and install the ones that were built for my set of libs (slack-common). So gedit 2.23 is after gnome 2.16, what about trying to build gedit 2.18, say?

I can't find a requirements list on the site, but I haven't tried very hard either.

- Piete.

Bruce Hill 06-17-2008 08:46 AM

To speed up your process, Alien Bob has gnome-doc-utils-0.8.0 in his repository.

His pkg there is for Slack-11.0, so you maybe should grab his SlackBuild and
edit a tiny bit (if at all) and build it on your Slack-12.1 system.


All times are GMT -5. The time now is 10:10 PM.