LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Slackbuild handbrake error-[gtk.install] Error 2 (http://www.linuxquestions.org/questions/slackware-14/slackbuild-handbrake-error-%5Bgtk-install%5D-error-2-a-826225/)

Swift&Smart 08-14-2010 12:13 PM

Slackbuild handbrake error-[gtk.install] Error 2
 
I need handbrake software so badly so I went to alien's slackbuild to download the handbrake.However,it ends with error after compiling-

make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/tmp/build/tmp-handbrake/HandBrake-0.9.4/build/gtk'
make[1]: *** [install-strip] Error 2
make[1]: Leaving directory `/tmp/build/tmp-handbrake/HandBrake-0.9.4/build/gtk'
make: *** [gtk.install] Error 2
./handbrake.SlackBuild FAILED at line 289
root@root:/mnt/vm/handbrake# [gtk.install] Error 2


Does it mean i miss something of gtk?

If you have any ideas,please feel free to drop me a line.Thanks.

Daedra 08-14-2010 03:56 PM

Did you install the dependencies from the README? It sounds like your missing webkitgtk.

From README...

NOTE #1:
Dependends on these packages:
icu4c
libsoup
webkitgtk

You can get these over at slackbuilds.org but just a suggestion, if you have a dual core system you may want to download the webkitgtk build and change the make line to something like make -7 (only if you have a multicore cpu) since it will speed up the build time for that package.

Swift&Smart 08-14-2010 11:19 PM

In fact, I did install icu4c,libsoup and webkitgtk compiled packages from alien's web but got the same result.

So I started over,slackbuilds the above one by one.However, when I slackbuild webkitgtk, it gave me this error:

checking for LIBSOUP... configure: error: Package requirements (libsoup-2.4 >= 2.28.2) were not met:

No package 'libsoup-2.4' 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 LIBSOUP_CFLAGS
and LIBSOUP_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install'. Stop.
./webkitgtk.SlackBuild FAILED at line 195


libsoup was successfully installed after slackbuild with version 2.31. So I just don't know what the error really is.

Thanks.

gnashley 08-15-2010 10:59 AM

You have to run 'ldconfig' after installing libs so that they are found by ld.

Swift&Smart 08-15-2010 11:17 AM

gnashley,thanks for your reply.

However,the error message still comes up even i issued command 'ldconfig' before i re-compiling with slackbuild. It said libsoup not found but I have already installed it as a package.

Still, I think compiling software is a pain.

ponce 08-15-2010 12:34 PM

on alien bob site there's also a prebuilt package of handbrake, but I already suggested you, so maybe you want to rebuild it...

can you please verify this? in my install I got
Code:

$ grep pkgconfig /var/log/packages/libsoup-*                   
usr/lib64/pkgconfig/
usr/lib64/pkgconfig/libsoup-2.4.pc


Swift&Smart 08-17-2010 10:53 AM

ponce,thanks for your reply.

I got exactly what you've got after issuing grep pkgconfig /var/log/packages/libsoup-* command.

I have some kind of dependencies hell as one package relies on other, and other relies on another.

Frankly,I feel a little bit frustrated on that. :(

ponce 08-17-2010 11:14 AM

you can try rebuilding libsoup from slackbuilds.org and after you can try with webkit (webkitgtk is the gtk part of that) and see if those versions build.

which version of slackware are you using?

Daedra 08-17-2010 03:42 PM

Quote:

Originally Posted by Swift&Smart (Post 4069110)
ponce,thanks for your reply.

I got exactly what you've got after issuing grep pkgconfig /var/log/packages/libsoup-* command.

I have some kind of dependencies hell as one package relies on other, and other relies on another.

Frankly,I feel a little bit frustrated on that. :(

You'll find that this isn't the case with most packages. Some just are though, like VLC and Handbrake.


All times are GMT -5. The time now is 05:20 AM.