Modify

Opened 10 years ago

Closed 10 years ago

#3771 closed defect (worksforme)

regex.h not found by wxbase configure

Reported by: tedeschi.luca@… Owned by: developers
Priority: normal Milestone: Kamikaze 7.09
Component: packages Version:
Keywords: wxbase regex.h Cc:

Description

Hi,
I'm trying to compile the whole kamikaze source plus packages.

Today to be sure I did svn up to have the newest source to be 100% sure.
Anyway, doing make V=99, it fails while it tries to configure wxbase.
Below the output I got from make:

make -j1 -C wxbase compile

make[3]: Entering directory `/home/vmplanet/kamikaze_7.09/feeds/https_svn.openwrt.org_openwrt_packages_/libs/wxbase'
(cd /home/vmplanet/kamikaze_7.09/build_mipsel/wxGTK-2.8.7/./; if [ -x ./configure ]; then cp -fpR /home/vmplanet/kamikaze_7.09/scripts/config.{guess,sub} /home/vmplanet/kamikaze_7.09/build_mipsel/wxGTK-2.8.7 && AR=mipsel-linux-uclibc-ar AS="mipsel-linux-uclibc-gcc -c -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time" LD=mipsel-linux-uclibc-ld NM=mipsel-linux-uclibc-nm CC="mipsel-linux-uclibc-gcc" GCC="mipsel-linux-uclibc-gcc" CXX=mipsel-linux-uclibc-g++ RANLIB=mipsel-linux-uclibc-ranlib STRIP=mipsel-linux-uclibc-strip OBJCOPY=mipsel-linux-uclibc-objcopy OBJDUMP=mipsel-linux-uclibc-objdump SIZE=mipsel-linux-uclibc-size CFLAGS="-Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -I/home/vmplanet/kamikaze_7.09/staging_dir_mipsel/usr/include -I/home/vmplanet/kamikaze_7.09/staging_dir_mipsel/include" CXXFLAGS="-Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -I/home/vmplanet/kamikaze_7.09/staging_dir_mipsel/usr/include -I/home/vmplanet/kamikaze_7.09/staging_dir_mipsel/include" CPPFLAGS="-I/home/vmplanet/kamikaze_7.09/staging_dir_mipsel/usr/include -I/home/vmplanet/kamikaze_7.09/staging_dir_mipsel/include -I/home/vmplanet/kamikaze_7.09/staging_dir_mipsel/usr/include -I/home/vmplanet/kamikaze_7.09/staging_dir_mipsel/include" LDFLAGS="-L/home/vmplanet/kamikaze_7.09/staging_dir_mipsel/usr/lib -L/home/vmplanet/kamikaze_7.09/staging_dir_mipsel/lib" PKG_CONFIG_PATH="/home/vmplanet/kamikaze_7.09/staging_dir_mipsel/usr/lib/pkgconfig" PKG_CONFIG_LIBDIR="/home/vmplanet/kamikaze_7.09/staging_dir_mipsel/usr/lib/pkgconfig" ./configure --target=mipsel-linux
--host=mipsel-linux --build=i386-redhat-linux --program-prefix="" --program-suffix="" --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/lib --sysconfdir=/etc --datadir=/usr/share --localstatedir=/var --mandir=/usr/man --infodir=/usr/info --disable-nls --enable-shared --disable-rpath --with-gnu-ld --disable-gui --disable-monolithic --enable-plugins --disable-universal --disable-nanox --disable-gtk2 --disable-gpe --disable-optimise --disable-debug --disable-stl --disable-omf --disable-debug_flag --disable-debug_info --disable-debug_gdb --disable-debug_cntxt --disable-mem_tracing --disable-profile --disable-no_rtti --disable-no_exceptions --disable-compat22 --disable-compat24 --enable-intl --disable-backtrace --enable-exceptions --disable-unicode --disable-sound --enable-largefile --without-gtk --without-motif --without-mac --without-cocoa --without-wine --without-msw --without-pm --without-mgl --without-microwin --without-x11 --without-libpng --without-libjpeg --without-libtiff --without-libxpm --without-libmspack --without-sdl --without-gnomeprint --without-opengl --without-dmalloc --with-regex="sys" --with-zlib="sys" --without-odbc --with-expat="sys" --without-gtk-prefix --without-x --without-libiconv-prefix --without-sdl-prefix --without-cppunit-prefix ; fi; )
configure: loading site script /home/vmplanet/kamikaze_7.09/include/site/mipsel-linux-uclibc
checking build system type... i386-redhat-linux-gnu
checking host system type... mipsel-unknown-linux-gnu
checking target system type... mipsel-unknown-linux-gnu
loading argument cache configarg.cache
checking for --enable-gui... no
checking for --enable-monolithic... no
checking for --enable-plugins... yes
checking for --without-subdirs... no
checking for --with-dmalloc... no
checking for --with-regex... system version
checking for --with-zlib... system version
checking for --with-odbc... no
checking for --with-expat... system version
checking for --with-macosx-sdk...
checking for --with-macosx-version-min... yes
checking for --enable-shared... yes
checking for --enable-optimise... no
checking for --enable-debug... no
checking for --enable-stl... no
checking for --enable-debug_flag... no
checking for --enable-debug_info... no
checking for --enable-debug_gdb... no
checking for --enable-debug_cntxt... no
checking for --enable-mem_tracing... no
checking for --enable-profile... no
checking for --enable-no_rtti... no
checking for --enable-no_exceptions... no
checking for --enable-permissive... no
checking for --enable-no_deps... no
checking for --enable-vararg_macros... yes
checking for --enable-universal_binary... no
checking for --enable-compat24... no
checking for --disable-compat26... no
checking for --enable-rpath... no
checking for --enable-objc_uniquifying... no
checking for --enable-abi-incompatible-features... no
checking for --enable-intl... yes
checking for --enable-config... yes
checking for --enable-protocols... yes
checking for --enable-ftp... yes
checking for --enable-http... yes
checking for --enable-fileproto... yes
checking for --enable-sockets... yes
checking for --enable-ole... yes
checking for --enable-dataobj... yes
checking for --enable-ipc... yes
checking for --enable-apple_ieee... yes
checking for --enable-arcstream... yes
checking for --enable-backtrace... no
checking for --enable-catch_segvs... yes
checking for --enable-cmdline... yes
checking for --enable-datetime... yes
checking for --enable-debugreport... yes
checking for --enable-dialupman... yes
checking for --enable-dynlib... yes
checking for --enable-dynamicloader... yes
checking for --enable-exceptions... yes
checking for --enable-ffile... yes
checking for --enable-file... yes
checking for --enable-filesystem... yes
checking for --enable-fontmap... yes
checking for --enable-fs_archive... yes
checking for --enable-fs_inet... yes
checking for --enable-fs_zip... yes
checking for --enable-geometry... yes
checking for --enable-log... yes
checking for --enable-longlong... yes
checking for --enable-mimetype... yes
checking for --enable-mslu... yes
checking for --enable-snglinst... yes
checking for --enable-std_iostreams... yes
checking for --enable-std_string... yes
checking for --enable-stdpaths... yes
checking for --enable-stopwatch... yes
checking for --enable-streams... yes
checking for --enable-system_options... yes
checking for --enable-tarstream... yes
checking for --enable-textbuf... yes
checking for --enable-textfile... yes
checking for --enable-timer... yes
checking for --enable-unicode... no
checking for --enable-sound... no
checking for --enable-mediactrl... no
checking for --enable-gstreamer8... no
checking for --enable-printfposparam... yes
checking for --enable-zipstream... yes
checking for --enable-url... yes
checking for --enable-variant... yes
checking for --enable-protocol... yes
checking for --enable-protocol_http... yes
checking for --enable-protocol_ftp... yes
checking for --enable-protocol_file... yes
checking for --enable-threads... yes
checking for --enable-official_build... no
saving argument cache configarg.cache
checking for toolkit... base (mipsel-linux hosted) only
checking for mipsel-linux-gcc... mipsel-linux-uclibc-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... yes
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether mipsel-linux-uclibc-gcc accepts -g... yes
checking for mipsel-linux-uclibc-gcc option to accept ANSI C... none needed
checking whether we are using the Intel C compiler... no
checking how to run the C preprocessor... mipsel-linux-uclibc-gcc -E
checking for egrep... grep -E
checking whether mipsel-linux-uclibc-gcc needs -traditional... no
checking for mipsel-linux-g++... mipsel-linux-uclibc-g++
checking whether we are using the GNU C++ compiler... yes
checking whether mipsel-linux-uclibc-g++ accepts -g... yes
checking whether we are using the Intel C++ compiler... no
checking for mipsel-linux-ranlib... mipsel-linux-uclibc-ranlib
checking for mipsel-linux-ar... mipsel-linux-uclibc-ar
checking for a BSD-compatible install... /usr/bin/install -c
checking for mipsel-linux-strip... mipsel-linux-uclibc-strip
checking if make is GNU make... yes
checking whether ln -s works... yes
checking for strcasecmp() in string.h... yes
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 for stdlib.h... (cached) yes
checking for fnmatch.h... yes
checking for langinfo.h... yes
checking for malloc.h... yes
checking for unistd.h... (cached) yes
checking for wchar.h... yes
checking for sys/select.h... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for char... yes
checking size of char... (cached) 1
checking for short... yes
checking size of short... (cached) 2
checking for void *... yes
checking size of void *... (cached) 4
checking for int... yes
checking size of int... (cached) 4
checking for long... yes
checking size of long... (cached) 4
checking for size_t... yes
checking size of size_t... (cached) 4
checking for long long... yes
checking size of long long... (cached) 8
checking for wchar_t... yes
checking size of wchar_t... 4
checking for va_copy... yes
checking whether the compiler supports variadic macros... yes
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking if large file support is available... yes
checking for _LARGEFILE_SOURCE value needed for large files... 1
checking for fseeko... yes
checking whether byte ordering is bigendian... (cached) no
checking for iostream... yes
checking if C++ compiler supports bool... yes
checking if C++ compiler supports the explicit keyword... yes
checking whether the compiler supports const_cast<>... yes
checking whether the compiler supports reinterpret_cast<>... yes
checking whether the compiler supports static_cast<>... yes
checking for std::string in <string>... yes
checking for std::istream... yes
checking for std::ostream... yes
checking for libraries directory... lib
checking for glibc 2.1 or later... yes
checking for cos... no
checking for floor... no
checking if floating point functions link without -lm... no
checking for sin... yes
checking for ceil... yes
checking if floating point functions link with -lm... yes
checking for strtoull... yes
checking for regex.h... no
configure: error: system regex library not found! Use --with-regex to use built-in version
make[3]: * /home/vmplanet/kamikaze_7.09/build_mipsel/wxGTK-2.8.7/.configured Error 1
make[3]: Leaving directory `/home/vmplanet/kamikaze_7.09/feeds/https_svn.openwrt.org_openwrt_packages_/libs/wxbase'
make[2]:
* [wxbase-compile] Error 2
make[2]: Leaving directory `/home/vmplanet/kamikaze_7.09/package'
make[1]: * [package/compile] Error 2
make[1]: Leaving directory `/home/vmplanet/kamikaze_7.09'
make:
* [world] Error 2

doing locate regex.h I got:
/home/vmplanet/kamikaze_7.09/build_mipsel/busybox-1.4.2/include/xregex.h
/home/vmplanet/kamikaze_7.09/build_mipsel/wxGTK-2.8.7/include/wx/regex.h
/home/vmplanet/kamikaze_7.09/build_mipsel/wxGTK-2.8.7/src/regex/regex.h
/home/vmplanet/kamikaze_7.09/staging_dir_mipsel/include/regex.h
/home/vmplanet/kamikaze_7.09/tool_build/sed-4.1.2/lib/regex.h
/home/vmplanet/kamikaze_7.09/toolchain_build_mipsel/binutils-2.17/include/xregex.h
/home/vmplanet/kamikaze_7.09/toolchain_build_mipsel/gcc-4.1.2/fixincludes/tests/base/regex.h
/home/vmplanet/kamikaze_7.09/toolchain_build_mipsel/gcc-4.1.2/include/xregex.h
/home/vmplanet/kamikaze_7.09/toolchain_build_mipsel/uClibc-0.9.28.2/include/regex.h
/home/vmplanet/kamikaze_7.09/toolchain_build_mipsel/uClibc_dev/usr/include/regex.h
/usr/include/regex.h

and if I run configure in the /home/vmplanet/kamikaze_7.09/build_mipsel/wxGTK-2.8.7/./
it runs fine. ( but I don't think that is meaningfull due to I run it not in the cross compile environment. )


Attachments (1)

.config (65.0 KB) - added by anonymous 10 years ago.

Download all attachments as: .zip

Change History (3)

Changed 10 years ago by anonymous

comment:1 Changed 10 years ago by anonymous

Try with latest trunk.

7.09 is almost a year old now and has a few bugs...

comment:2 Changed 10 years ago by florian

  • Resolution set to worksforme
  • Status changed from new to closed

wxbase compiles fine with trunk, update to it please.

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.