I am using Gentoo:
./configure --prefix=/usr && make
configure: configuring gst-jpeg2000 for release
checking for a BSD-compatible install...
/usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a sed that does not truncate output...
/usr/bin/sed
checking for egrep... grep -E
checking for ld used by gcc...
/usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld)
is GNU ld... yes
checking for /usr/i686-pc-linux-gnu/bin/ld option to
reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... g77
checking whether we are using the GNU Fortran 77
compiler... yes
checking whether g77 accepts -g... yes
checking the maximum length of command line
arguments... 32768
checking command to parse /usr/bin/nm -B output from
gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker
(/usr/i686-pc-linux-gnu/bin/ld) supports shared
libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs...
immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++...
/usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld)
is GNU ld... yes
checking whether the g++ linker
(/usr/i686-pc-linux-gnu/bin/ld) supports shared
libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker
(/usr/i686-pc-linux-gnu/bin/ld) supports shared
libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs...
immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for g77 option to produce PIC... -fPIC
checking if g77 PIC flag -fPIC works... yes
checking if g77 supports -c -o file.o... yes
checking whether the g77 linker
(/usr/i686-pc-linux-gnu/bin/ld) supports shared
libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs...
immediate
checking whether stripping libraries is possible... yes
checking for pkg-config... yes
checking for pkg-config... /usr/bin/pkg-config
checking for gstreamer-0.8 >= 0.8
gstreamer-control-0.8 >= 0.8... yes
checking GST_CFLAGS... -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -pthread
-I/usr/include/gstreamer-0.8 -I/usr/include/glib-2.0 -I/us
r/lib/glib-2.0/include -I/usr/include/libxml2
checking GST_LIBS... -Wl,--export-dynamic -pthread
-lgstreamer-0.8 -lgstcontrol-0.8
checking for gstreamer-libs-0.8 >= 0.8... configure: no
GStreamer plugin libs found
configure: creating ./config.status
config.status: creating gst-j2k.apspec
config.status: creating Makefile
config.status: creating src/Makefile
config.status: executing depfiles commands
Making all in src
make[1]: Entering directory
`/home/dhp/gvv/gst-jpeg2000-1.0.0/src'
if /bin/sh ../libtool --mode=compile --tag=CC gcc
-DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\"
-DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=
\"\" -DPACKAGE_BUGREPORT=\"\"
-DGST_PLUGIN_VERSION=\"1.0.0\"
-DGST_PLUGIN_VERSION_RELEASE=\"1\"
-DPACKAGE=\"gst-jpeg2000\" -DVERSION=
\"1.0.0\" -DPACKAGE=\"gst-jpeg2000\"
-DVERSION=\"1.0.0\" -DSTDC_HEADERS=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
-DHAVE_DLFCN_H=1 -I.
-I. -I/include -g -O2 -MT
libgstjpeg2000_la-gstj2k.lo -MD -MP -MF
".deps/libgstjpeg2000_la-gstj2k.Tpo" -c -o
libgstjpeg2000_la-gs
tj2k.lo `test -f 'gstj2k.c' || echo './'`gstj2k.c; \
then mv -f ".deps/libgstjpeg2000_la-gstj2k.Tpo"
".deps/libgstjpeg2000_la-gstj2k.Plo"; else rm -f
".deps/libgstjpeg2000_la-gstj2k.Tpo"
; exit 1; fi
gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\"
-DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\"
-DPACKAGE_BUGREPORT=\"\" -DGST_PLUGIN_VE
RSION=\"1.0.0\" -DGST_PLUGIN_VERSION_RELEASE=\"1\"
-DPACKAGE=\"gst-jpeg2000\" -DVERSION=\"1.0.0\"
-DPACKAGE=\"gst-jpeg2000\" -DVERSIO
N=\"1.0.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
-DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
-DHAVE_MEMORY_H=1 -DHAVE_ST
RINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
-DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I/include
-g -O2 -MT libgstjpeg2000_la-gs
tj2k.lo -MD -MP -MF .deps/libgstjpeg2000_la-gstj2k.Tpo
-c gstj2k.c -fPIC -DPIC -o
.libs/libgstjpeg2000_la-gstj2k.o
In file included from gstj2kdec.h:26,
from gstj2k.c:27:
/usr/include/gst/gst.h:27:18: glib.h: No such file or
directory
In file included from /usr/include/gst/gst.h:30,
from gstj2kdec.h:26,
from gstj2k.c:27:
/usr/include/gst/gstenumtypes.h:7:25: glib-object.h: No
such file or directory
In file included from /usr/include/gst/gst.h:30,
from gstj2kdec.h:26,
from gstj2k.c:27:
/usr/include/gst/gstenumtypes.h:11: error: parse error
before "GType"
/usr/include/gst/gstenumtypes.h:14: error: parse error
before "gst_bin_flags_get_type"
from what I see, configure detects right the glib, but
does not put properly
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
in Makefiles for further make ...
if I change src/Makefile:68
to
DEFAULT_INCLUDES = -I. -I$(srcdir)
-I/usr/include/gstreamer-0.8 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/libxml2
_this_ error goes away ...
Logged In: YES
user_id=407708
What kind of system is this that you're building on?
Logged In: YES
user_id=955034
I said first I was using Gentoo, and the logs I pasted reports:
checking build system type... i686-pc-linux-gnu
what is clearely x86 ...
what were you asking about ?
Logged In: YES
user_id=407708
My bad, I was so busy reading the log I missed the build
system (gentoo).
I have no idea. Maybe someone on a gentoo support list can
help you.
Logged In: YES
user_id=955034
I am not either asking for support, but giving a fix ... for
THIS bug.
Logged In: YES
user_id=407708
Then please file in the patch tracker the appropriate diff,
and not in the bug tracker.