LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 08-17-2012, 04:05 AM   #1
dr.s
Member
 
Registered: Feb 2010
Distribution: Slackware64
Posts: 135

Rep: Reputation: 20
guvcview Slackbuild error on -current


Tried to build guvcview lately to get it to run on -current (had no problems on 13.37) but now I'm getting compilation errors. Has anyone successfully built this package lately?
thanks

Code:
...
gcc -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_SRC_DIR=\""."\" -DPACKAGE_DATA_DIR=\""/usr/share"\" -pthread -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14 -I/usr/include/SDL      -D_REENTRANT -D_FILE_OFFSET_BITS=64 -Wall -O2 -march=i486 -mtune=i686 -MT v4l2_formats.o -MD -MP -MF .deps/v4l2_formats.Tpo -c -o v4l2_formats.o v4l2_formats.c
In file included from v4l2_formats.c:25:0:
/usr/include/glib-2.0/glib/gutils.h:28:2: error: #error "Only <glib.h> can be included directly."
In file included from v4l2_formats.c:26:0:
/usr/include/glib-2.0/glib/gtestutils.h:22:2: error: #error "Only <glib.h> can be included directly."
make[2]: *** [v4l2_formats.o] Error 1
make[2]: Leaving directory `/tmp/SBo/guvcview-src-1.5.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/SBo/guvcview-src-1.5.0'
make: *** [all] Error 2
 
Old 08-17-2012, 05:55 AM   #2
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 2,638

Rep: Reputation: 451Reputation: 451Reputation: 451Reputation: 451Reputation: 451
Get the updated SlackBuild for 1.6.0 here
it works on -Current
 
Old 08-18-2012, 01:05 AM   #3
dr.s
Member
 
Registered: Feb 2010
Distribution: Slackware64
Posts: 135

Original Poster
Rep: Reputation: 20
Works like a charm, marking as Solved, thanks!

Last edited by dr.s; 08-18-2012 at 01:10 AM.
 
Old 08-18-2012, 09:52 PM   #4
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 2,638

Rep: Reputation: 451Reputation: 451Reputation: 451Reputation: 451Reputation: 451
I have just pushed update to guvcview to 1.6.1 on the same repository
the guvcview.patch is no longer needed for 1.6.1
 
Old 08-19-2012, 03:25 AM   #5
dr.s
Member
 
Registered: Feb 2010
Distribution: Slackware64
Posts: 135

Original Poster
Rep: Reputation: 20
Thanks willysr, I upgraded to 1.6.1 without any problems.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
GNOME SlackBuild on -current? ahmadj Slackware 0 03-18-2012 07:52 AM
lmms slackbuild fails with -current the_penguinator Slackware 3 02-03-2010 10:24 AM
[SOLVED] LMMS Slackbuild Error with Slackware Current (GCC 4.4.3) smoooth103 Slackware 4 01-30-2010 10:06 PM
fluxbox.SlackBuild in -current typo? wadsworth Slackware 9 11-13-2008 02:59 PM
GSB.SlackBuild ran on Slack-Current acummings Slackware 7 08-04-2006 09:30 AM


All times are GMT -5. The time now is 06:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration