gstreamer package in current puts gstconfig.h in /usr/lib64/gstreamer-1.0/include
Looks like the -current gstreamer-1.6.1 package puts this one header file in an odd place:
/usr/lib64/gstreamer-1.0/include/gst/gstconfig.h Adding this to the slackbuild: Code:
mv usr/lib64/gstreamer-1.0/include/gst/gstconfig.h usr/include/gstreamer-1.0/gst/ Might want to add this fix to -current before release otherwise software linked against gstreamer may not build correctly. Thanks, schu |
hi akschu, freerdp from SBo here builds fine on current.
to satisfy my own curiosity I've checked the cmake routine it uses to find gstreamer-1.0 (cmake/FindGStreamer_1_0.cmake): it uses pkg-config and the paths it shows are correct Code:
# pkg-config --cflags-only-I gstreamer-1.0 |
I'm not sure why yours works. If I install the current gstreamer library from: http://mirrors.aptalaska.net/slackwa...1-x86_64-1.txt then the gstconfig.h file gets installed in an odd location:
Code:
$ grep gstconfig.h /var/log/packages/gstreamer-1.6.1-x86_64-1 Code:
[ 92%] Building C object channels/tsmf/client/gstreamer/CMakeFiles/tsmf-client-gstreamer-decoder.dir/tsmf_gstreamer.c.o Then patch it with this: Code:
--- gstreamer.SlackBuild.orig 2015-10-27 12:28:56.000000000 -0800 Code:
$ grep gstconfig.h /var/log/packages/gstreamer-1.6.1-x86_64-1 We should be running the same software, I updated -current this morning. Perhaps one difference could be I'm using Eric's multilib stuff, but it seems to me that the header file would be better off in the include directory which is why I suggested this as an update to -current before RC1. Thanks, schu |
You are right that freerdp should build fine as my system also lists the correct directory in pkg-config:
Code:
$ pkg-config --cflags-only-I gstreamer-1.0 I'm not sure what makes more sense, update the gstreamer package to make it use more common/assumed paths for this one header file, or file a bug with freerdp since it's not searching all of the pkg-config paths for every header file. It probably finds the first directory and rolls with it.... Thanks, schu |
I see the same problem on a recently rebuilt -current system. I'm not sure how the existing SlackBuild works for others but in my freerdp.SlackBuild, I changed the -DCMAKE_C_FLAGS:STRING definition line to:
Code:
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS $(pkg-config --cflags-only-I gstreamer-1.0)" \ |
As ponce implied, this is a bug with the app trying to include the header - gstreamer did what it was supposed to do in its pkgconfig file:
Code:
Cflags: -I${includedir} -I${libdir}/gstreamer-1.0/include |
All times are GMT -5. The time now is 09:29 AM. |