Static QEMU Build fails
I'm trying to build QEMU 1.2.0 with --static:
LINK qemu-ga
/usr/bin/ld: cannot find -lgthread-2.0
/usr/bin/ld: cannot find -lglib-2.0
qemu-sockets.o: In function `inet_listen_opts':
/home/ashutosh/man-builds/qemu-1.2.0/qemu-sockets.c:141: warning: Using 'getaddrinfo' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
collect2: error: ld returned 1 exit status
make: *** [qemu-ga] Error 1
But as far as I can see, everything is fine with glib-2.0 and gthread-2.0:
# pacman -Qs glib2
local/glib2 2.32.4-1
# ld --verbose | grep /usr/lib
SEARCH_DIR("/usr/x86_64-unknown-linux-gnu/lib64"); SEARCH_DIR("/usr/x86_64-unknown-linux-gnu/lib"); SEARCH_DIR("/usr/lib"); SEARCH_DIR("/usr/local/lib");
# ls /usr/lib/libgthread-2.0.so*
/usr/lib/libgthread-2.0.so /usr/lib/libgthread-2.0.so.0.3200.4
/usr/lib/libgthread-2.0.so.0
# ls /usr/lib/libglib-2.0.so*
/usr/lib/libglib-2.0.so /usr/lib/libglib-2.0.so.0.3200.4
/usr/lib/libglib-2.0.so.0
I can build QEMU without --static though. Any ideas are welcome!
Maybe it is looking for statically linked versions of the libraries? I'm pretty sure that .so on Linux just are dynamically linked versions of libraries i.e. I think that's what the .so extension indicates. Definitely e.g. libglib-2.0.so is dynamically linked (check with ldd).
Similar Messages
-
Flash Builder fails to copy over static files in incremental compiles
During incremental compiles, the Flash Builder fails to copy over certain static files (such as *.js and html files). I have my own html wrapper and during incremental compiles it fails to copy over this file and also deletes the file from bin-debug/bin-release. I have to do a clean build instead to ensure these files are copied over.
Just tried this out on an IIS server with Flash player 10.3.181.14 - it worked.
Are you using the release version of Flash Builder 4.5 with the release version of Flex SDK (not a prior SDK build)?
The URL you mentioned gives me a 403 forbidden error.
-Anirudh -
Build Fails for Alsaplayer in ABS
Hi all,
I couldn't get alsaplayer to run in GUI mode, but I found this thread that had the answer: http://bbs.archlinux.org/viewtopic.php?id=42168. So I followed the ABS wiki's directions for setting up ABS and I tried to run for alsaplayer (with the one line change in the PKGBUILD) , but the build fails after configuring. Here's the full console output:
aclocal.m4:14: error: this file was generated for autoconf 2.61.
You have another version of autoconf. If you want to use that,
you should regenerate the build system entirely.
aclocal.m4:14: the top level
autom4te: /usr/bin/m4 failed with exit status: 63
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
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 ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
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 for a BSD-compatible install... /bin/install -c
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking whether we are using the GNU C Library 2 or newer... yes
checking for ranlib... ranlib
checking for simple visibility declarations... yes
checking for inline... inline
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 size_t... yes
checking for stdint.h... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking whether integer division by zero raises SIGFPE... yes
checking for inttypes.h... yes
checking for unsigned long long int... yes
checking for inttypes.h... (cached) yes
checking whether the inttypes.h PRIxNN macros are broken... no
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking whether imported symbols can be declared weak... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for pthread_kill in -lpthread... yes
checking for pthread_rwlock_t... yes
checking for multithread API to use... posix
checking argz.h usability... yes
checking argz.h presence... yes
checking for argz.h... yes
checking for inttypes.h... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for unistd.h... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for getcwd... yes
checking for getegid... yes
checking for geteuid... yes
checking for getgid... yes
checking for getuid... yes
checking for mempcpy... yes
checking for munmap... yes
checking for stpcpy... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for strtoul... yes
checking for tsearch... yes
checking for argz_count... yes
checking for argz_stringify... yes
checking for argz_next... yes
checking for __fsetlocking... yes
checking whether feof_unlocked is declared... yes
checking whether fgets_unlocked is declared... yes
checking for iconv... yes
checking for iconv declaration...
extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for NL_LOCALE_NAME macro... yes
checking for bison... bison
checking version of bison... 2.3, ok
checking for long long int... yes
checking for long double... yes
checking for wchar_t... yes
checking for wint_t... yes
checking for intmax_t... yes
checking whether printf() supports POSIX/XSI format strings... yes
checking whether we are using the GNU C Library 2.1 or newer... yes
checking for stdint.h... (cached) yes
checking for SIZE_MAX... yes
checking for stdint.h... (cached) yes
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for ptrdiff_t... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for asprintf... yes
checking for fwprintf... yes
checking for putenv... yes
checking for setenv... yes
checking for setlocale... yes
checking for snprintf... yes
checking for wcslen... yes
checking whether _snprintf is declared... no
checking whether _snwprintf is declared... no
checking whether getc_unlocked is declared... yes
checking for nl_langinfo and CODESET... yes
checking for LC_MESSAGES... yes
checking for CFPreferencesCopyAppValue... (cached) no
checking for CFLocaleCopyCurrent... (cached) no
checking whether included gettext is requested... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking whether ln -s works... yes
checking for a sed that does not truncate output... /bin/sed
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking how to recognize dependent libraries... pass_all
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... gfortran
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether gfortran accepts -g... yes
checking the maximum length of command line arguments... 1572864
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... (cached) ranlib
checking for strip... strip
checking for correct ltmain.sh version... 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 static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/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/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/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++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
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 gfortran option to produce PIC... -fPIC
checking if gfortran PIC flag -fPIC works... yes
checking if gfortran static flag -static works... yes
checking if gfortran supports -c -o file.o... yes
checking whether the gfortran linker (/usr/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 gcc and cc understand -c and -o together... yes
checking whether make sets $(MAKE)... (cached) yes
checking for libmikmod-config... /usr/bin/libmikmod-config
checking for libmikmod - version >= 3.1.7... yes, `/usr/bin/libmikmod-config --version`
checking for Ogg... yes
checking for Vorbis... yes
checking for audiofile-config... /usr/bin/audiofile-config
checking for Audio File Library - version >= 0.1.7... yes
checking for afOpenFile in -laudiofile... yes
checking for ANSI C header files... (cached) yes
*** Disabling OpenGL plugins per user request ***
checking for FLAC__stream_decoder_new in -lFLAC... yes
checking for FLAC__stream_decoder_init_ogg_stream in -lFLAC... yes
checking for mad_stream_init in -lmad... yes
checking for id3_file_open in -lid3tag... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for JACK... yes
checking for xosd_create in -lxosd... no
checking for GLIB2... yes
checking for GTK2... yes
checking for SNDFILE... yes
checking for pthread_create in -lpthread... yes
checking for ANSI C header files... (cached) yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking linux/cdrom.h usability... yes
checking linux/cdrom.h presence... yes
checking for linux/cdrom.h... yes
checking sys/soundcard.h usability... yes
checking sys/soundcard.h presence... yes
checking for sys/soundcard.h... yes
checking sys/audioio.h usability... no
checking sys/audioio.h presence... no
checking for sys/audioio.h... no
checking audio/audiolib.h usability... no
checking audio/audiolib.h presence... no
checking for audio/audiolib.h... no
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking mad.h usability... yes
checking mad.h presence... yes
checking for mad.h... yes
checking id3tag.h usability... yes
checking id3tag.h presence... yes
checking for id3tag.h... yes
checking FLAC/stream_decoder.h usability... yes
checking FLAC/stream_decoder.h presence... yes
checking for FLAC/stream_decoder.h... yes
checking OggFLAC/stream_decoder.h usability... no
checking OggFLAC/stream_decoder.h presence... no
checking for OggFLAC/stream_decoder.h... no
checking for alsa version... found latest
checking for esd-config... /usr/bin/esd-config
checking for ESD - version >= 0.2.4... yes
checking for alOpenPort in -laudio... no
checking for AuStartFlow in -laudio... no
checking for doxygen... false
configure: WARNING: *** doxygen not found, docs will not be built
checking machine architecture... i686
checking for gcc optimization flags... -O2 -fexpensive-optimizations -funroll-loops -finline-functions -ffast-math -Wall
checking for an ANSI C-conforming const... yes
checking for size_t... (cached) yes
checking whether gcc needs -traditional... no
checking for working memcmp... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... (cached) yes
checking for working mmap... (cached) yes
checking for madvise... yes
checking for strdup... (cached) yes
checking for strstr... yes
configure: creating ./config.status
config.status: creating intl/Makefile
config.status: creating po/Makefile.in
config.status: creating Makefile
config.status: creating alsaplayer.1
config.status: creating alsaplayer.pc
config.status: creating alsaplayer.spec
config.status: creating app/Makefile
config.status: creating interface/Makefile
config.status: creating interface/gtk2/Makefile
config.status: creating interface/gtk2/pixmaps/Makefile
config.status: creating interface/text/Makefile
config.status: creating interface/daemon/Makefile
config.status: creating interface/xosd/Makefile
config.status: creating scopes2/Makefile
config.status: creating scopes2/monoscope/Makefile
config.status: creating scopes2/levelmeter/Makefile
config.status: creating scopes2/spacescope/Makefile
config.status: creating scopes2/logbarfft/Makefile
config.status: creating scopes2/synaescope/Makefile
config.status: creating scopes2/blurscope/Makefile
config.status: creating scopes2/opengl_spectrum/Makefile
config.status: creating output/Makefile
config.status: creating output/alsa-0.5.x/Makefile
config.status: creating output/alsa-final/Makefile
config.status: creating output/jack/Makefile
config.status: creating output/oss/Makefile
config.status: creating output/esound/Makefile
config.status: creating output/sgi/Makefile
config.status: creating output/sparc/Makefile
config.status: creating output/null/Makefile
config.status: creating output/nas/Makefile
config.status: creating input/Makefile
config.status: creating input/mad/Makefile
config.status: creating input/cdda/Makefile
config.status: creating input/mikmod/Makefile
config.status: creating input/wav/Makefile
config.status: creating input/vorbis/Makefile
config.status: creating input/audiofile/Makefile
config.status: creating input/flac/Makefile
config.status: creating input/sndfile/Makefile
config.status: creating reader/Makefile
config.status: creating reader/file/Makefile
config.status: creating reader/http/Makefile
config.status: creating alsaplayer/Makefile
config.status: creating libalsaplayer/Makefile
config.status: creating extra/Makefile
config.status: creating examples/Makefile
config.status: creating m4/Makefile
config.status: creating docs/Makefile
config.status: creating docs/reference.doxygen
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
Configuration:
Install path: /usr
Use libmad shared library: yes
Enable libid3tag support: yes
Build GTK2 interface: yes
Build XOSD interface: no
Build OpenGL based visual plugins: no
Build alsa 0.5.x output plugin: no
Build alsa 0.9.x output plugin: yes
Build jack output plugin: yes
Build oss output plugin: yes
Build esound output plugin: yes
Build sparc output plugin: no
Build sgi output plugin: no
Build nas output plugin: no
Build vorbis input plugin: yes
Build cdda input plugin: yes
Build mikmod input plugin: yes
Build audiofile input plugin: yes
Build FLAC input plugin: yes
Included OggFLAC input plugin: yes
Separated OggFLAC input plugin: no
Build sndfile input plugin: yes
Now type 'make' to build AlsaPlayer.
make all-recursive
make[1]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80'
Making all in intl
make[2]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/intl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/intl'
Making all in po
make[2]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/po'
Making all in interface
make[2]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/interface'
Making all in gtk2
make[3]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/interface/gtk2'
Making all in pixmaps
make[4]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/interface/gtk2/pixmaps'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/interface/gtk2/pixmaps'
make[4]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/interface/gtk2'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/interface/gtk2'
make[3]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/interface/gtk2'
Making all in text
make[3]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/interface/text'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/interface/text'
Making all in daemon
make[3]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/interface/daemon'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/interface/daemon'
Making all in xosd
make[3]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/interface/xosd'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/interface/xosd'
make[3]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/interface'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/interface'
make[2]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/interface'
Making all in output
make[2]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/output'
Making all in alsa-0.5.x
make[3]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/output/alsa-0.5.x'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/output/alsa-0.5.x'
Making all in alsa-final
make[3]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/output/alsa-final'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/output/alsa-final'
Making all in oss
make[3]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/output/oss'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/output/oss'
Making all in esound
make[3]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/output/esound'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/output/esound'
Making all in sgi
make[3]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/output/sgi'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/output/sgi'
Making all in sparc
make[3]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/output/sparc'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/output/sparc'
Making all in nas
make[3]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/output/nas'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/output/nas'
Making all in null
make[3]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/output/null'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/output/null'
Making all in jack
make[3]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/output/jack'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/output/jack'
make[3]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/output'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/output'
make[2]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/output'
Making all in input
make[2]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/input'
Making all in cdda
make[3]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/input/cdda'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/input/cdda'
Making all in audiofile
make[3]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/input/audiofile'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/input/audiofile'
Making all in mikmod
make[3]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/input/mikmod'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/input/mikmod'
Making all in wav
make[3]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/input/wav'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/input/wav'
Making all in vorbis
make[3]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/input/vorbis'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/input/vorbis'
Making all in mad
make[3]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/input/mad'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/input/mad'
Making all in flac
make[3]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/input/flac'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/input/flac'
Making all in sndfile
make[3]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/input/sndfile'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/input/sndfile'
make[3]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/input'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/input'
make[2]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/input'
Making all in app
make[2]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/app'
g++ -DHAVE_CONFIG_H -I. -I.. -I../alsaplayer -I../libalsaplayer -DLOCALEDIR=\"/usr/share/locale\" -D_REENTRANT -DADDON_DIR=\"/usr/lib/alsaplayer\" -O2 -fexpensive-optimizations -funroll-loops -finline-functions -ffast-math -Wall -march=i686 -mtune=generic -O2 -pipe -march=i686 -mtune=generic -O2 -pipe -MT alsaplayer-ControlSocket.o -MD -MP -MF .deps/alsaplayer-ControlSocket.Tpo -c -o alsaplayer-ControlSocket.o `test -f 'ControlSocket.cpp' || echo './'`ControlSocket.cpp
ControlSocket.cpp: In function 'void socket_looper(void*)':
ControlSocket.cpp:150: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:151: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:154: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:158: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:161: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:164: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:167: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:170: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:173: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:176: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:184: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:188: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:192: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:196: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:201: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:206: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:209: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:212: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:214: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:219: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:223: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:229: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:235: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:239: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:243: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:245: error: 'PATH_MAX' was not declared in this scope
ControlSocket.cpp:246: error: 'save_path' was not declared in this scope
ControlSocket.cpp:248: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:257: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:261: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:267: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:268: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:272: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:273: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:277: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:278: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:282: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:283: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:286: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:292: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:298: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:319: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:322: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:323: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:326: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:332: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:337: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:339: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:345: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:346: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:351: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:353: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:359: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:360: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:366: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:367: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:373: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:374: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:380: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:381: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:387: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:388: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:394: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:395: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:400: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:401: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:407: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:408: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:414: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:415: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:421: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:422: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:428: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:429: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:435: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:436: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:441: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:444: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:446: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:451: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:452: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:457: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:471: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:475: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:486: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:489: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:490: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:495: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:496: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:501: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:502: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:507: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:508: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:513: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:515: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:520: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:521: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:524: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:526: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:527: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:530: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:535: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:537: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:539: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:542: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:547: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:550: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:553: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:558: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:561: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:564: warning: deprecated conversion from string constant to 'char*'
make[2]: *** [alsaplayer-ControlSocket.o] Error 1
make[2]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/app'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80'
make: *** [all] Error 2
I figure it's those 2 errors in the middle of make that are holding it up, but I don't have a clue how to fix it.
thanks,
progrockIf you know how to write a patch or feel like learning, put one together, file a bug report, and submit the patch with it. If you don't feel like writing a patch, just submit a bug report that says that app/ContolSocket.cpp needs "include <climits>" to build. Either way is good.
Last edited by skottish (2008-08-08 04:03:17) -
Hi,
I am trying to send an email from Oracle SOA server. I have the latest java mail & jdk.
I am using yahoo india smtp settings.
smtp.mail.yahoo.co.in
SSL
465
I tried it with gmail as well. Also i tried a sample program with yahoo/gmail, but still the same exception...
Any help pls??
[TopLink Info]: 2010.08.30 15:02:05.969--ServerSession(676145274)--businessrules_session_oracle login successful
<Aug 30, 2010 3:07:11 PM EST> <Error> <oracle.sdp.messaging.driver.email> <SDP-25700> <An unexpected exception was caught.
javax.mail.MessagingException: Exception reading response;
nested exception is:
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java:1611)
at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1369)
at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:412)
at javax.mail.Service.connect(Service.java:310)
at javax.mail.Service.connect(Service.java:169)
at javax.mail.Service.connect(Service.java:118)
at oracle.sdpinternal.messaging.driver.email.EmailDriver.send(EmailDriver.java:781)
at oracle.sdpinternal.messaging.driver.email.EmailManagedConnection.send(EmailManagedConnection.java:56)
at oracle.sdpinternal.messaging.driver.DriverConnectionImpl.send(DriverConnectionImpl.java:41)
at oracle.sdpinternal.messaging.dispatcher.DriverDispatcherBean.onMessage(DriverDispatcherBean.java:298)
at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:466)
at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:371)
at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:327)
at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4659)
at weblogic.jms.client.JMSSession.execute(JMSSession.java:4345)
at weblogic.jms.client.JMSSession.executeMessage(JMSSession.java:3821)
at weblogic.jms.client.JMSSession.access$000(JMSSession.java:115)
at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:5170)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Sample Program:
import java.util.Properties;
import javax.mail.Message;
import javax.mail.MessagingException;
import javax.mail.Session;
import javax.mail.Transport;
import javax.mail.Message.RecipientType;
import javax.mail.internet.AddressException;
import javax.mail.internet.InternetAddress;
import javax.mail.internet.MimeMessage;
import com.sun.mail.smtp.SMTPSSLTransport;
public class SendMailExample {
public static void main(String[] args) {
String from = "[email protected]";
String to = "[email protected]";
String subject = "Test Message";
String message = "This is A test message sent via Gmail ";
SendMail sendMail = new SendMail(from, to, subject, message);
sendMail.send();
class SendMail {
private String from;
private String to;
private String subject;
private String text;
public SendMail(String from, String to, String subject, String text){this.from = from; this.to = to; this.subject = subject;this.text = text;}
public void send(){
String host = "smtp.gmail.com";
String userid = "xx";
String password = "xx";
try
Properties props = System.getProperties();
props.put("mail.smtp.starttls.enable", "true");
props.put("mail.smtp.host", host);
props.setProperty("mail.transport.protocol", "smtps");
props.put("mail.smtp.user", userid);
props.put("mail.smtp.password", password);
props.put("mail.smtp.port", "465");
props.put("mail.smtps.auth", "true");
Session session = Session.getDefaultInstance(props, null);
MimeMessage message = new MimeMessage(session);
InternetAddress fromAddress = null;
InternetAddress toAddress = null;
try {
fromAddress = new InternetAddress(from);
toAddress = new InternetAddress(to);
} catch (AddressException e) {
e.printStackTrace();
message.setFrom(fromAddress);
message.setRecipient(RecipientType.TO, toAddress);
message.setSubject(subject);
message.setText(text);
//SMTPSSLTransport transport =(SMTPSSLTransport)session.getTransport("smtps");
Transport transport = session.getTransport("smtps");
transport.connect(host, userid, password);
transport.sendMessage(message, message.getAllRecipients());
transport.close();
} catch (MessagingException e) {
e.printStackTrace();
Thanks,
GaneshHi Ganesh!
Thanks a bunch for your quick response...
So, just to be sure about what I need to do:
1.- From the setDomainEnv.cmd I need to remove the part that reads -Djavax.net.ssl.trustStore=%WL_HOME%\server\lib\DemoTrust.jks...
2.- In the Keystores tab found in WebLogic Console Home > Summary of Servers > AdminServer(admin), change the Keystores current value "Demo Identity and Demo Trust" to the "Custom Identity and Java Standard Trust" option found in the dropdown box.
I have a doubt in number 2... Do I have to do this only in the AdminServer or I have to do it in both, the AdminServer and my ManagedServer (soa_server1)?
Again, thanks for your help, this error was driving me crazy! -
BUILD FAILED: problem with junit
Hi, I'm taking the CDJ-310A - Developing Applications for the J2EE Platform course and have run into a problem when issuing a call to asant. When I run asant test the message it gives is "Ant could not find the task or a class this task relies upon.".The errors I get refer to the junit package.
I've check the CLASSPATH and it seams ok:
D:\labs\FJ310\bankproject>javap junit.framework.TestCase
Compiled from "TestCase.java"
public abstract class junit.framework.TestCase extends junit.framework.Assert im
plements junit.framework.Test{
public junit.framework.TestCase();
public junit.framework.TestCase(java.lang.String);
public int countTestCases();
protected junit.framework.TestResult createResult();
public junit.framework.TestResult run();
public void run(junit.framework.TestResult);
public void runBare() throws java.lang.Throwable;
protected void runTest() throws java.lang.Throwable;
protected void setUp() throws java.lang.Exception;
protected void tearDown() throws java.lang.Exception;
public java.lang.String toString();
public java.lang.String getName();
public void setName(java.lang.String);
D:\labs\FJ310\bankproject>javap junit.textui.TestRunner
Compiled from "TestRunner.java"
public class junit.textui.TestRunner extends junit.runner.BaseTestRunner{
public static final int SUCCESS_EXIT;
public static final int FAILURE_EXIT;
public static final int EXCEPTION_EXIT;
public junit.textui.TestRunner();
public junit.textui.TestRunner(java.io.PrintStream);
public junit.textui.TestRunner(junit.textui.ResultPrinter);
public static void run(java.lang.Class);
public static junit.framework.TestResult run(junit.framework.Test);
public static void runAndWait(junit.framework.Test);
public void testFailed(int, junit.framework.Test, java.lang.Throwable);
public void testStarted(java.lang.String);
public void testEnded(java.lang.String);
protected junit.framework.TestResult createTestResult();
public junit.framework.TestResult doRun(junit.framework.Test);
public junit.framework.TestResult doRun(junit.framework.Test, boolean);
protected void pause(boolean);
public static void main(java.lang.String[]);
public junit.framework.TestResult start(java.lang.String[]) throws jav
a.lang.Exception;
protected junit.framework.TestResult runSingleMethod(java.lang.String, java.
lang.String, boolean) throws java.lang.Exception;
protected void runFailed(java.lang.String);
public void setPrinter(junit.textui.ResultPrinter);
But still these errors still are produced:
D:\labs\FJ310\bankproject>asant clean
Buildfile: build.xml
clean:
[delete] Deleting directory D:\labs\FJ310\bankproject\build
[delete] Deleting directory D:\labs\FJ310\bankproject\jar
BUILD SUCCESSFUL
Total time: 0 seconds
D:\labs\FJ310\bankproject>asant
Buildfile: build.xml
prepare:
[mkdir] Created dir: D:\labs\FJ310\bankproject\build
[mkdir] Created dir: D:\labs\FJ310\bankproject\jar
compile:
[javac] Compiling 6 source files to D:\labs\FJ310\bankproject\build
[javac] D:\labs\FJ310\bankproject\src\bank\BankMgrTest.java:9: package junit
.framework does not exist
[javac] import junit.framework.*;
[javac] ^
[javac] D:\labs\FJ310\bankproject\src\bank\BankMgrTest.java:11: cannot find
symbol
[javac] symbol: class TestCase
[javac] public class BankMgrTest extends TestCase {
[javac] ^
[javac] D:\labs\FJ310\bankproject\src\bank\BankMgrTest.java:15: cannot find
symbol
[javac] symbol : class Test
[javac] location: class bank.BankMgrTest
[javac] public static Test suite() {
[javac] ^
[javac] D:\labs\FJ310\bankproject\src\bank\BankMgrTest.java:16: cannot find
symbol
[javac] symbol : class TestSuite
[javac] location: class bank.BankMgrTest
[javac] return new TestSuite(BankMgrTest.class);
[javac] ^
[javac] D:\labs\FJ310\bankproject\src\bank\BankMgrTest.java:20: package juni
t.textui does not exist
[javac] junit.textui.TestRunner.run(suite());
[javac] ^
[javac] D:\labs\FJ310\bankproject\src\bank\BankMgrTest.java:39: cannot find
symbol
[javac] symbol : method assertEquals(java.lang.String,java.lang.String)
[javac] location: class bank.BankMgrTest
[javac] assertEquals("Fred", data.getFirstname());
[javac] ^
[javac] D:\labs\FJ310\bankproject\src\bank\BankMgrTest.java:40: cannot find
symbol
[javac] symbol : method assertEquals(java.lang.String,java.lang.String)
[javac] location: class bank.BankMgrTest
[javac] assertEquals("Flintstone", data.getLastname());
[javac] ^
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 7 errors
BUILD FAILED
D:\labs\FJ310\bankproject\build.xml:14: Compile failed; see the compiler error o
utput for details.
Total time: 4 seconds
Any help solving these errors would be highly appreciated. I'm stuck right now. Thanks!i have this problem too. and i added in CLASSPATH the path for junit.jar file. but still does not work
my build.xml file :
<project name="bankproject" default="deploy" basedir=".">
<property environment="env"/>
<property name="src.dir" value="${basedir}/src"/>
<property name="build.dir" value="${basedir}/build"/>
<property name="jar.dir" value="${basedir}/jar"/>
<target name="prepare">
<mkdir dir="${build.dir}"/>
<mkdir dir="${jar.dir}"/>
</target>
<target name="compile" depends="prepare" >
<javac destdir="${build.dir}">
<src path="${src.dir}"/>
</javac>
</target>
<target name="package-bankmgr" depends="compile">
<delete file="${jar.dir}/BankEJBModule.jar"/>
<copy file="dd/bank-ejb-jar.xml" tofile="${build.dir}/ejb-jar.xml" overwrite="true"/>
<copy file="dd/bank-sun-ejb-jar.xml" tofile="${build.dir}/sun-ejb-jar.xml" overwrite="true"/>
<jar jarfile="${jar.dir}/BankEJBModule.jar">
<metainf dir="${build.dir}" includes="ejb-jar.xml,sun-ejb-jar.xml" />
<fileset dir="${build.dir}">
<include name="bank/**" />
<exclude name="bank/BankMgrTest.class" />
<exclude name="bank/CustomerTest.class" />
</fileset>
</jar>
</target>
<target name="package-ejbs" depends="package-bankmgr" />
<target name="package-client" depends="compile">
<delete file="${jar.dir}/ClientModule.jar"/>
<copy file="dd/bank-application-client.xml" tofile="${build.dir}/application-client.xml" overwrite="true"/>
<copy file="dd/bank-sun-application-client.xml" tofile="${build.dir}/sun-application-client.xml" overwrite="true"/>
<jar jarfile="${jar.dir}/ClientModule.jar">
<manifest>
<attribute name="Main-Class" value="bank.MessageClient" />
</manifest>
<metainf dir="${build.dir}" includes="application-client.xml,sun-application-client.xml" />
<fileset dir="${build.dir}">
<include name="bank/MessageClient.class" />
</fileset>
</jar>
</target>
<target name="assemble-app" depends="package-ejbs,package-client">
<delete file="${jar.dir}/BankApplication.ear"/>
<copy file="dd/bank-application.xml" tofile="${build.dir}/application.xml" overwrite="true"/>
<ear destfile="${jar.dir}/BankApplication.ear" appxml="${build.dir}/application.xml">
<fileset dir="${jar.dir}">
<include name="BankEJBModule.jar"/>
<include name="ClientModule.jar"/>
</fileset>
</ear>
</target>
<property name="j2ee.home" value="${env.J2EE_HOME}" />
<property name="admin.user" value="admin" />
<property name="admin.pass" value="password" />
<property name="appname" value="BankApplication"/>
<property name="ear.file" value="${jar.dir}/${appname}.ear" />
<target name="setAsadmin" >
<condition property="asadmin" value="asadmin.bat">
<os family="windows"/>
</condition>
<condition property="asadmin" value="asadmin">
<not>
<os family="windows"/>
</not>
</condition>
</target>
<target name="deploy" depends="assemble-app,setAsadmin">
<echo message="Deploying ${ear.file}."/>
<exec dir="." executable="${j2ee.home}/bin/${asadmin}">
<arg line=" deploy"/>
<arg line=" --user ${admin.user}"/>
<arg line=" --password ${admin.pass}"/>
<arg line=" --force=true"/>
<arg line=" --name ${appname}"/>
<arg line=" --retrieve=." />
<arg line=" ${ear.file}"/>
</exec>
</target>
<target name="get-stubs" depends="setAsadmin">
<echo message="Retrieving stubs JAR file for ${appname}."/>
<exec dir="." executable="${j2ee.home}/bin/${asadmin}">
<arg line=" get-client-stubs"/>
<arg line=" --user ${admin.user}"/>
<arg line=" --password ${admin.pass}"/>
<arg line=" --appname ${appname}"/>
<arg line=" ."/>
</exec>
</target>
<target name="undeploy" depends="setAsadmin">
<echo message="Undeploying ${appname}."/>
<exec dir="." executable="${j2ee.home}/bin/${asadmin}">
<arg line=" undeploy"/>
<arg line=" --user ${admin.user}"/>
<arg line=" --password ${admin.pass}"/>
<arg line=" ${appname}"/>
</exec>
</target>
<target name="test">
<junit printsummary="on" haltonfailure="no" filtertrace="off">
<classpath>
<pathelement location="${build.dir}"/>
<pathelement path="${java.class.path}"/>
<pathelement path="BankApplicationClient.jar" />
</classpath>
<formatter type="plain" usefile="no"/>
<test name="bank.BankMgrTest"/>
</junit>
</target>
<target name="clean">
<delete dir="${build.dir}" />
<delete dir="${jar.dir} "/>
</target>
</project> -
[build failed] meterbridge (hence jack_capture)
Hi,
I tried to install jack_capture, who depends on meterbridge.
Alas, bukd of meterbridge fails :
main.o: In function `main':
/tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/main.c:137: undefined reference to `SDL_Init'
/tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/main.c:138: undefined reference to `SDL_GetError'
/tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/main.c:176: undefined reference to `SDL_SetVideoMode'
..... etc etc. (full copy paste below)
I do have SDL and SDL_image installed
(I have early any SDL "extra" package)
I googled bit, found http://www.gamedev.net/community/forums … _id=260057
bot no solution
sdl-config --libs answers : "-L/usr/lib -lSDL -lpthread"
I tried to download original meterbridge tarball, but the result is not better (even worse I'd say, as compilation fails telling :
"vu_meters.c:11: error: static declaration of 'buf_rect' follows non-static declaration").
Any tip/help would be appreciated !
As promised, here's the full output :
==> Entering fakeroot environment...
==> Starting build()...
checking for a BSD-compatible install... /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... 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 for pthread_self in -lpthread... yes
checking for sqrt in -lm... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for sdl-config... /usr/bin/sdl-config
checking for SDL - version >= 1.2.0... yes
checking for pkg-config... /usr/bin/pkg-config
checking for jack... yes
checking JACK_CFLAGS...
checking JACK_LIBS... -ljack -lpthread -lrt
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -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 for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for atexit... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating graphics/Makefile
config.status: creating src/Makefile
config.status: creating src/config.h
config.status: src/config.h is unchanged
config.status: executing depfiles commands
Making all in src
make[1]: Entering directory `/tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src'
make all-am
make[2]: Entering directory `/tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src'
source='main.c' object='main.o' libtool=no \
depfile='.deps/main.Po' tmpdepfile='.deps/main.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I. -Wall -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DPKG_DATA_DIR=\"/usr/share/meterbridge\" -c `test -f 'main.c' || echo './'`main.c
source='vu_meters.c' object='vu_meters.o' libtool=no \
depfile='.deps/vu_meters.Po' tmpdepfile='.deps/vu_meters.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I. -Wall -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DPKG_DATA_DIR=\"/usr/share/meterbridge\" -c `test -f 'vu_meters.c' || echo './'`vu_meters.c
source='ppm_meters.c' object='ppm_meters.o' libtool=no \
depfile='.deps/ppm_meters.Po' tmpdepfile='.deps/ppm_meters.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I. -Wall -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DPKG_DATA_DIR=\"/usr/share/meterbridge\" -c `test -f 'ppm_meters.c' || echo './'`ppm_meters.c
source='dpm_meters.c' object='dpm_meters.o' libtool=no \
depfile='.deps/dpm_meters.Po' tmpdepfile='.deps/dpm_meters.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I. -Wall -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DPKG_DATA_DIR=\"/usr/share/meterbridge\" -c `test -f 'dpm_meters.c' || echo './'`dpm_meters.c
source='jf_meters.c' object='jf_meters.o' libtool=no \
depfile='.deps/jf_meters.Po' tmpdepfile='.deps/jf_meters.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I. -Wall -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DPKG_DATA_DIR=\"/usr/share/meterbridge\" -c `test -f 'jf_meters.c' || echo './'`jf_meters.c
source='scope.c' object='scope.o' libtool=no \
depfile='.deps/scope.Po' tmpdepfile='.deps/scope.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I. -Wall -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DPKG_DATA_DIR=\"/usr/share/meterbridge\" -c `test -f 'scope.c' || echo './'`scope.c
source='envelopes.c' object='envelopes.o' libtool=no \
depfile='.deps/envelopes.Po' tmpdepfile='.deps/envelopes.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I. -Wall -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DPKG_DATA_DIR=\"/usr/share/meterbridge\" -c `test -f 'envelopes.c' || echo './'`envelopes.c
gcc -Wall -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DPKG_DATA_DIR=\"/usr/share/meterbridge\" -Wl,--hash-style=gnu -Wl,--as-needed -o meterbridge -lm -ljack -lpthread -lrt -L/usr/lib -lSDL -lpthread -lSDL_image main.o linedraw.o vu_meters.o ppm_meters.o dpm_meters.o jf_meters.o scope.o envelopes.o find_image.o -lm -lpthread
main.o: In function `main':
/tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/main.c:137: undefined reference to `SDL_Init'
/tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/main.c:138: undefined reference to `SDL_GetError'
/tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/main.c:176: undefined reference to `SDL_SetVideoMode'
/tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/main.c:178: undefined reference to `SDL_GetError'
/tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/main.c:191: undefined reference to `SDL_UpperBlit'
/tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/main.c:201: undefined reference to `SDL_UpperBlit'
/tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/main.c:208: undefined reference to `SDL_UpdateRects'
/tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/main.c:216: undefined reference to `jack_client_new'
/tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/main.c:222: undefined reference to `SDL_WM_SetCaption'
/tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/main.c:227: undefined reference to `SDL_CreateThread'
/tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/main.c:230: undefined reference to `SDL_CreateThread'
/tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/main.c:233: undefined reference to `SDL_CreateThread'
/tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/main.c:236: undefined reference to `SDL_CreateThread'
/tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/main.c:239: undefined reference to `SDL_CreateThread'
/tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/main.c:246: undefined reference to `jack_set_process_callback'
/tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/main.c:248: undefined reference to `jack_set_process_callback'
/tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/main.c:250: undefined reference to `jack_set_process_callback'
/tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/main.c:256: undefined reference to `jack_activate'
/tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/main.c:266: undefined reference to `SDL_WaitEvent'
main.o: In function `make_channel':
/tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/main.c:299: undefined reference to `jack_port_register'
/tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/main.c:306: undefined reference to `jack_port_register'
/tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/main.c:316: undefined reference to `jack_port_by_name'
/tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/main.c:321: undefined reference to `jack_port_flags'
/tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/main.c:327: undefined reference to `jack_port_get_all_connections'
/tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/main.c:329: undefined reference to `jack_disconnect'
/tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/main.c:331: undefined reference to `jack_connect'
/tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/main.c:341: undefined reference to `jack_connect'
/tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/main.c:343: undefined reference to `jack_port_name'
/tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/main.c:343: undefined reference to `jack_connect'
main.o: In function `cleanup':
/tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/main.c:361: undefined reference to `jack_port_get_all_connections'
/tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/main.c:363: undefined reference to `jack_port_get_all_connections'
/tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/main.c:367: undefined reference to `jack_port_name'
/tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/main.c:367: undefined reference to `jack_disconnect'
/tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/main.c:371: undefined reference to `jack_port_name'
/tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/main.c:371: undefined reference to `jack_disconnect'
/tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/main.c:373: undefined reference to `jack_connect'
/tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/main.c:379: undefined reference to `jack_client_close'
/tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/main.c:382: undefined reference to `SDL_KillThread'
/tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/main.c:383: undefined reference to `SDL_Quit'
linedraw.o: In function `draw_line':
/tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/linedraw.c:59: undefined reference to `SDL_LockSurface'
/tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/linedraw.c:75: undefined reference to `SDL_UnlockSurface'
linedraw.o: In function `draw_ptr':
/tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/linedraw.c:126: undefined reference to `SDL_LockSurface'
/tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/linedraw.c:145: undefined reference to `SDL_UnlockSurface'
vu_meters.o: In function `gfx_thread_vu':
/tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/vu_meters.c:26: undefined reference to `SDL_MapRGB'
/tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/vu_meters.c:27: undefined reference to `SDL_MapRGB'
/tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/vu_meters.c:51: undefined reference to `SDL_UpperBlit'
/tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/vu_meters.c:54: undefined reference to `SDL_UpperBlit'
/tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/vu_meters.c:56: undefined reference to `SDL_UpdateRects'
/tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/vu_meters.c:57: undefined reference to `SDL_Delay'
ppm_meters.o: In function `gfx_thread_ppm':
/tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/ppm_meters.c:26: undefined reference to `SDL_MapRGB'
/tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/ppm_meters.c:27: undefined reference to `SDL_MapRGB'
/tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/ppm_meters.c:51: undefined reference to `SDL_UpperBlit'
/tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/ppm_meters.c:53: undefined reference to `SDL_UpperBlit'
/tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/ppm_meters.c:55: undefined reference to `SDL_UpdateRects'
/tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/ppm_meters.c:56: undefined reference to `SDL_Delay'
dpm_meters.o: In function `gfx_thread_dpm':
/tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/dpm_meters.c:57: undefined reference to `SDL_MapRGB'
/tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/dpm_meters.c:58: undefined reference to `SDL_MapRGB'
/tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/dpm_meters.c:59: undefined reference to `SDL_MapRGB'
/tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/dpm_meters.c:69: undefined reference to `SDL_FillRect'
/tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/dpm_meters.c:73: undefined reference to `SDL_FillRect'
/tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/dpm_meters.c:86: undefined reference to `SDL_FillRect'
/tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/dpm_meters.c:88: undefined reference to `SDL_UpdateRects'
/tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/dpm_meters.c:89: undefined reference to `SDL_Delay'
jf_meters.o: In function `gfx_thread_jf':
/tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/jf_meters.c:52: undefined reference to `SDL_MapRGB'
/tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/jf_meters.c:53: undefined reference to `SDL_MapRGB'
/tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/jf_meters.c:54: undefined reference to `SDL_MapRGB'
/tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/jf_meters.c:72: undefined reference to `SDL_FillRect'
/tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/jf_meters.c:73: undefined reference to `SDL_UpperBlit'
/tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/jf_meters.c:120: undefined reference to `SDL_FillRect'
/tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/jf_meters.c:124: undefined reference to `SDL_FillRect'
/tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/jf_meters.c:128: undefined reference to `SDL_UpdateRects'
/tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/jf_meters.c:129: undefined reference to `SDL_Delay'
scope.o: In function `gfx_thread_scope':
/tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/scope.c:22: undefined reference to `SDL_MapRGB'
/tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/scope.c:35: undefined reference to `SDL_UpperBlit'
/tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/scope.c:60: undefined reference to `SDL_UpdateRects'
/tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/scope.c:61: undefined reference to `SDL_Delay'
envelopes.o: In function `process_peak':
/tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/envelopes.c:36: undefined reference to `jack_port_get_buffer'
/tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/envelopes.c:37: undefined reference to `jack_port_get_buffer'
envelopes.o: In function `process_rms':
/tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/envelopes.c:79: undefined reference to `jack_port_get_buffer'
/tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/envelopes.c:80: undefined reference to `jack_port_get_buffer'
envelopes.o: In function `process_ring':
/tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/envelopes.c:118: undefined reference to `jack_port_get_buffer'
envelopes.o:/tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/envelopes.c:119: more undefined references to `jack_port_get_buffer' follow
find_image.o: In function `find_image':
/tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/find_image.c:15: undefined reference to `IMG_Load'
/tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/find_image.c:19: undefined reference to `IMG_Load'
collect2: ld returned 1 exit status
make[2]: *** [meterbridge] Error 1
make[2]: Leaving directory `/tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src'
make: *** [all-recursive] Error 1
==> ERROR: Build Failed.
Aborting...
Error: Makepkg was unable to build meterbridge package.I had it work but.. I don't know what I did
I commented out the line in /etc/makepkg.conf :
#LDFLAGS="-Wl,--hash-style=gnu -Wl,--as-needed"
because it's the origin of the only differences between the config.log resulting of a "manual ./configure" and the makepkg one.
(to tell the truth I copied makepkg.conf, edited it, and used makepkg --config)
now that's weird... but works
Last edited by skai (2009-10-04 09:26:29) -
[Solved] Cairo-Dock Build Failed
Im trying to get cairo-dock up and running but keep getting the message that the build has failed. Tried both manual and with yaourt with same results.
Im still wet behind the ears with this kinda thing so any help would be much appreciated.
Thanks
==> Making package: cairo-dock 1.6.3.1-1 i686 (Wed Jan 21 17:26:27 GMT 2009)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
-> Found cairo-dock-1.6.3.1.tar.bz2 in build dir
==> Validating source files with md5sums...
cairo-dock-1.6.3.1.tar.bz2 ... Passed
==> Extracting Sources...
-> bsdtar -x -f cairo-dock-1.6.3.1.tar.bz2
==> Removing existing pkg/ directory...
==> Entering fakeroot environment...
==> Starting build()...
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --force
libtoolize: putting auxiliary files in `.'.
libtoolize: linking file `./ltmain.sh'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
autoreconf: running: /usr/bin/autoconf --force
autoreconf: running: /usr/bin/autoheader --force
autoreconf: running: automake --add-missing --force-missing
autoreconf: Leaving directory `.'
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for style of include used by make... GNU
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 ISO C89... none needed
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
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 for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/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
checking whether NLS is requested... yes
checking for intltool >= 0.35.0... 0.40.5 found
checking for intltool-update... /usr/bin/intltool-update
checking for intltool-merge... /usr/bin/intltool-merge
checking for intltool-extract... /usr/bin/intltool-extract
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for perl... /usr/bin/perl
checking for XML::Parser... ok
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for ngettext in libc... yes
checking for dgettext in libc... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... (cached) /usr/bin/msgfmt
checking for dcgettext... yes
checking if msgfmt accepts -c... yes
checking for gmsgfmt... (cached) /usr/bin/msgfmt
checking for xgettext... (cached) /usr/bin/xgettext
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for ANSI C header files... (cached) yes
checking math.h usability... yes
checking math.h presence... yes
checking for math.h... yes
checking for stdlib.h... (cached) yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for PACKAGE... yes
checking for XEXTEND... yes
checking for GLITZ... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating cairo-dock.pc
config.status: WARNING: 'cairo-dock.pc.in' seems to ignore the --datarootdir setting
config.status: creating src/Makefile
config.status: creating po/Makefile.in
config.status: creating data/Makefile
config.status: creating data/cairo-dock.conf
config.status: creating data/main-dock.conf
config.status: creating data/default-theme/Makefile
config.status: creating data/default-theme/launchers/Makefile
config.status: creating data/default-theme/icons/Makefile
config.status: creating data/gauges/Makefile
config.status: creating data/gauges/radium/Makefile
config.status: creating data/gauges/radium-fuel/Makefile
config.status: creating data/gauges/battery/Makefile
config.status: creating data/gauges/old-square/Makefile
config.status: creating data/gauges/turbo-night/Makefile
config.status: creating data/gauges/turbo-night-fuel/Makefile
config.status: creating data/gauges/turbo-night-dual/Makefile
config.status: creating data/gauges/rainbow/Makefile
config.status: creating data/gauges/tomato/Makefile
config.status: creating data/gauges/Circle/Makefile
config.status: creating data/emblems/Makefile
config.status: creating data/explosion/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing default-1 commands
config.status: executing po/stamp-it commands
# INTLTOOL_MAKEFILE
Cairo-Dock will be compiled with the following options :
* Use X Extensions : yes
* Hardware Acceleration : yes
make all-recursive
make[1]: Entering directory `/home/andy/cairo-dock/src/cairo-dock-1.6.3.1'
Making all in .
make[2]: Entering directory `/home/andy/cairo-dock/src/cairo-dock-1.6.3.1'
make[2]: Leaving directory `/home/andy/cairo-dock/src/cairo-dock-1.6.3.1'
Making all in src
make[2]: Entering directory `/home/andy/cairo-dock/src/cairo-dock-1.6.3.1/src'
Making all in .
make[3]: Entering directory `/home/andy/cairo-dock/src/cairo-dock-1.6.3.1/src'
gcc -DHAVE_CONFIG_H -I. -I.. -pthread -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/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/libpng12 -I/usr/include/librsvg-2 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/libxml2 -DHAVE_GLITZ="1" -DHAVE_XEXTEND="1" -DCAIRO_DOCK_SHARE_DATA_DIR=\""/usr/share/cairo-dock"\" -DCAIRO_DOCK_SHARE_THEMES_DIR=\""/usr/share/cairo-dock/themes"\" -DCAIRO_DOCK_MODULES_DIR=\""/usr/lib/cairo-dock"\" -DCAIRO_DOCK_CONF_FILE=\""cairo-dock.conf"\" -DCAIRO_DOCK_EASY_CONF_FILE=\""cairo-dock_easy.conf"\" -DCAIRO_DOCK_LAUNCHER_CONF_FILE=\""launcher.conf"\" -DCAIRO_DOCK_CONTAINER_CONF_FILE=\""container.conf"\" -DCAIRO_DOCK_SEPARATOR_CONF_FILE=\""separator.conf"\" -DCAIRO_DOCK_THEME_CONF_FILE=\""themes.conf"\" -DCAIRO_DOCK_MAIN_DOCK_CONF_FILE=\""main-dock.conf"\" -DCAIRO_DOCK_DEFAULT_ICON_NAME=\""default-icon.svg"\" -DCAIRO_DOCK_DEFAULT_INDICATOR_NAME=\""default-indicator.png"\" -DCAIRO_DOCK_DEFAULT_DROP_INDICATOR_NAME=\""default-drop-indicator.svg"\" -DCAIRO_DOCK_VERSION=\""1.6.3.1"\" -DCAIRO_DOCK_LOCALE_DIR=\""/usr/share/locale"\" -DCAIRO_DOCK_GETTEXT_PACKAGE=\""cairo-dock"\" -DCAIRO_DOCK_ICON=\""cairo-dock.svg"\" -DCAIRO_DOCK_LOGO=\""cairo-dock-logo.png"\" -std=c99 -O3 -g -ggdb -Wno-unused-parameter -march=i686 -mtune=generic -O2 -pipe -MT cairo_dock-cairo-dock-callbacks.o -MD -MP -MF .deps/cairo_dock-cairo-dock-callbacks.Tpo -c -o cairo_dock-cairo-dock-callbacks.o `test -f 'cairo-dock-callbacks.c' || echo './'`cairo-dock-callbacks.c
cairo-dock-callbacks.c:24:25: error: cairo-glitz.h: No such file or directory
cairo-dock-icons.h:335: warning: inline function 'cairo_dock_update_removing_inserting_icon' declared but never defined
make[3]: *** [cairo_dock-cairo-dock-callbacks.o] Error 1
make[3]: Leaving directory `/home/andy/cairo-dock/src/cairo-dock-1.6.3.1/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/andy/cairo-dock/src/cairo-dock-1.6.3.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/andy/cairo-dock/src/cairo-dock-1.6.3.1'
make: *** [all] Error 2
==> ERROR: Build Failed.
Aborting...
Last edited by Andy Mack (2009-01-21 20:21:01)When I yaourt cairo-dock it comes with the wglitz package, but from what I understand you have to get cairo-dock and cairo-dock-plugins, but when I build cairo-dock-plugins it fails while building it
applet-mixer.c:286: error: too many arguments to function 'cairo_dock_build_dialog'
and it stops right after that, any thoughs?
Last edited by SiegeMachine (2009-03-26 01:42:38) -
hey archers
im trying to install this foss monopoly game called gtkatlantic, i've tried using yaourt and i've tried manually compiling the pkgbuild with makepkg -s
this is my error
[kaddy@Arch gtkatlantic]$ makepkg -s
==> Making package: gtkatlantic 0.4.2-1 x86_64 (Wed Feb 24 23:42:42 WST 2010)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
-> Downloading gtkatlantic-0.4.2.tar.gz...
--2010-02-24 23:42:42-- http://gtkatlantic.gradator.net/downloa … 4.2.tar.gz
Resolving gtkatlantic.gradator.net... 212.85.158.4
Connecting to gtkatlantic.gradator.net|212.85.158.4|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://download.tuxfamily.org/gtkatlant … 4.2.tar.gz [following]
--2010-02-24 23:42:48-- http://download.tuxfamily.org/gtkatlant … 4.2.tar.gz
Resolving download.tuxfamily.org... 88.191.250.18
Connecting to download.tuxfamily.org|88.191.250.18|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1046488 (1022K) [application/x-tar]
Saving to: "gtkatlantic-0.4.2.tar.gz.part"
100%[===========================================================================================>] 1,046,488 138K/s in 7.4s
2010-02-24 23:43:01 (138 KB/s) - "gtkatlantic-0.4.2.tar.gz.part" saved [1046488/1046488]
==> Validating source files with md5sums...
gtkatlantic-0.4.2.tar.gz ... Passed
==> Extracting Sources...
-> Extracting gtkatlantic-0.4.2.tar.gz with bsdtar
==> Entering fakeroot environment...
==> Starting build()...
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
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 dependency style of gcc... gcc3
checking for library containing strerror... none required
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/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 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... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
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 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 static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) 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... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GTK... yes
checking png.h usability... yes
checking png.h presence... yes
checking for png.h... yes
checking for inet_aton in -lc... yes
checking for inet_aton in -lresolv... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating config.h
config.status: executing depfiles commands
make all-recursive
make[1]: Entering directory `/home/kaddy/Downloads/gtkatlantic/src/gtkatlantic-0.4.2'
Making all in src
make[2]: Entering directory `/home/kaddy/Downloads/gtkatlantic/src/gtkatlantic-0.4.2/src'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -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/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/libxml2 -march=x86-64 -mtune=generic -O2 -pipe -MT callback.o -MD -MP -MF ".deps/callback.Tpo" -c -o callback.o callback.c; \
then mv -f ".deps/callback.Tpo" ".deps/callback.Po"; else rm -f ".deps/callback.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -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/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/libxml2 -march=x86-64 -mtune=generic -O2 -pipe -MT client.o -MD -MP -MF ".deps/client.Tpo" -c -o client.o client.c; \
then mv -f ".deps/client.Tpo" ".deps/client.Po"; else rm -f ".deps/client.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -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/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/libxml2 -march=x86-64 -mtune=generic -O2 -pipe -MT eng_conv.o -MD -MP -MF ".deps/eng_conv.Tpo" -c -o eng_conv.o eng_conv.c; \
then mv -f ".deps/eng_conv.Tpo" ".deps/eng_conv.Po"; else rm -f ".deps/eng_conv.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -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/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/libxml2 -march=x86-64 -mtune=generic -O2 -pipe -MT eng_frame.o -MD -MP -MF ".deps/eng_frame.Tpo" -c -o eng_frame.o eng_frame.c; \
then mv -f ".deps/eng_frame.Tpo" ".deps/eng_frame.Po"; else rm -f ".deps/eng_frame.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -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/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/libxml2 -march=x86-64 -mtune=generic -O2 -pipe -MT eng_main.o -MD -MP -MF ".deps/eng_main.Tpo" -c -o eng_main.o eng_main.c; \
then mv -f ".deps/eng_main.Tpo" ".deps/eng_main.Po"; else rm -f ".deps/eng_main.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -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/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/libxml2 -march=x86-64 -mtune=generic -O2 -pipe -MT game.o -MD -MP -MF ".deps/game.Tpo" -c -o game.o game.c; \
then mv -f ".deps/game.Tpo" ".deps/game.Po"; else rm -f ".deps/game.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -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/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/libxml2 -march=x86-64 -mtune=generic -O2 -pipe -MT interface.o -MD -MP -MF ".deps/interface.Tpo" -c -o interface.o interface.c; \
then mv -f ".deps/interface.Tpo" ".deps/interface.Po"; else rm -f ".deps/interface.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -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/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/libxml2 -march=x86-64 -mtune=generic -O2 -pipe -MT load.o -MD -MP -MF ".deps/load.Tpo" -c -o load.o load.c; \
then mv -f ".deps/load.Tpo" ".deps/load.Po"; else rm -f ".deps/load.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -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/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/libxml2 -march=x86-64 -mtune=generic -O2 -pipe -MT main.o -MD -MP -MF ".deps/main.Tpo" -c -o main.o main.c; \
then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f ".deps/main.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -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/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/libxml2 -march=x86-64 -mtune=generic -O2 -pipe -MT readpng.o -MD -MP -MF ".deps/readpng.Tpo" -c -o readpng.o readpng.c; \
then mv -f ".deps/readpng.Tpo" ".deps/readpng.Po"; else rm -f ".deps/readpng.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -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/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/libxml2 -march=x86-64 -mtune=generic -O2 -pipe -MT xmlparse.o -MD -MP -MF ".deps/xmlparse.Tpo" -c -o xmlparse.o xmlparse.c; \
then mv -f ".deps/xmlparse.Tpo" ".deps/xmlparse.Po"; else rm -f ".deps/xmlparse.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -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/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/libxml2 -march=x86-64 -mtune=generic -O2 -pipe -MT display.o -MD -MP -MF ".deps/display.Tpo" -c -o display.o display.c; \
then mv -f ".deps/display.Tpo" ".deps/display.Po"; else rm -f ".deps/display.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -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/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/libxml2 -march=x86-64 -mtune=generic -O2 -pipe -MT trade.o -MD -MP -MF ".deps/trade.Tpo" -c -o trade.o trade.c; \
then mv -f ".deps/trade.Tpo" ".deps/trade.Po"; else rm -f ".deps/trade.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -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/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/libxml2 -march=x86-64 -mtune=generic -O2 -pipe -MT theme.o -MD -MP -MF ".deps/theme.Tpo" -c -o theme.o theme.c; \
then mv -f ".deps/theme.Tpo" ".deps/theme.Po"; else rm -f ".deps/theme.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -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/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/libxml2 -march=x86-64 -mtune=generic -O2 -pipe -MT parser.o -MD -MP -MF ".deps/parser.Tpo" -c -o parser.o parser.c; \
then mv -f ".deps/parser.Tpo" ".deps/parser.Po"; else rm -f ".deps/parser.Tpo"; exit 1; fi
/bin/sh ../libtool --tag=CC --mode=link gcc -march=x86-64 -mtune=generic -O2 -pipe -Wl,--hash-style=gnu -Wl,--as-needed -o gtkatlantic callback.o client.o eng_conv.o eng_frame.o eng_main.o game.o interface.o load.o main.o readpng.o xmlparse.o display.o trade.o theme.o parser.o -lgtk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lfreetype -lfontconfig -lgdk-x11-2.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lxml2 -lpng
mkdir .libs
gcc -march=x86-64 -mtune=generic -O2 -pipe -Wl,--hash-style=gnu -Wl,--as-needed -o gtkatlantic callback.o client.o eng_conv.o eng_frame.o eng_main.o game.o interface.o load.o main.o readpng.o xmlparse.o display.o trade.o theme.o parser.o -lgtk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lfreetype -lfontconfig -lgdk-x11-2.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lxml2 -lpng
readpng.o: In function `readpng_init':
readpng.c:(.text+0x51e): undefined reference to `png_check_sig'
collect2: ld returned 1 exit status
make[2]: *** [gtkatlantic] Error 1
make[2]: Leaving directory `/home/kaddy/Downloads/gtkatlantic/src/gtkatlantic-0.4.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/kaddy/Downloads/gtkatlantic/src/gtkatlantic-0.4.2'
make: *** [all] Error 2
==> ERROR: Build Failed.
Aborting...
any ideas?
thanxThe changes in the new libpng and tips on how to change old code are here:
http://libpng.sourceforge.net/ANNOUNCE-1.4.0.txt
untar the sources:
tar -xvf gtkatlantic-0.4.2.tar.gz
make a copy:
cp -r gtkatlantic-0.4.2 gtkatlantic-0.4.2-orig
do the changes that needs to be done in gtkatlantic-0.4.2 then create the patch:
diff -Naur gtkatlantic-0.4.2-orig gtkatlantic-0.4.2 > libpng14.patch
modify PKGBUILD by adding patch in sources array and add a line to apply it. -
Teststand deployment build fails with dll dependency
Hi guys,
I am struggling with test stand deployment for 3 days. hope somebody can help. ( I am using teststand 4.0 nd labview 8.5 and .net 2.0)
I have sequence files, with many subVi' s and .net assmeblies with dependancies, added to workspace , and when i run the sequence file, it works fine.
Specifically, the sequence file calls many Vi's, some of which use the .net assembly from "C:\program files\National instruments\labview 8.5\use.lib" ( and not specifically from the folder where the Vi resides), and still it works.
However, when i build ths same using deployment utility (figure 1), these assemblies and other go to "\\installation directory\data" and the build fails(figure 2), as the "property node " for the .net assembly( build using c# public static class) gets invalid( figure 3).
Figure 2:
Figure3:
Now, the same VI in different folder ( C:\development...) is able to reference the assembly from "C:\program files\National instruments\labview 8.5\use.lib"( I had added the refernce from labview project initially from different location, but after copying the file to this location, VI's still worked) and works fine (figure 4).
Figure 4:
I have tried adding "\\installation directory\data" Teststand search directory, but no luck.
I have following questions:
is it manadatory to keep the dl's and their dependencies in the same folder, in which VI's use them, for sucessful build through deployment ? if yes, by default, these would go to "\\installation directory\data", which is different from "installation directory\...VI directory\ , and would not work still?
it is mandatory to add the VI's that use .net assemblies to labview project, for sucessful deployment? if yes, how do we add a labview project to testsand workspace?
If the assembly can be added to Global assembly cache, would this solve the problem of 'unsucessfull build" of installer , and even if it does, how can (a) I add the assembly to GAC on development system (b) make sure that installer installs the assembly to GAC on deployed system (through deployment utility)?
other than above, does anybody have other solution to my problem?
I am already late for deployment of project to customers, and need immediate help.
Thanks
vivuHi Jon.
Thanks for replying. The .net assembly was created in visual studio, by different engineer. I tried using 'c:\prog fil\nat inst\labview 8.5\user.lib' as the source path, and keeping destination to (1) \\target\data (2) \\target\subVI location that uses this assembly (3) \\lNI directory\\labview8.5\user.lib.
all of thse did not help.
Anyways, I asked my colleague to change the .net assembly, so that one of the VI that was using property node, now, just uses 'invoke node" ( and source dll was changed by using c# method instead of property to achive same result)n and then, I rebuild the deployment choosing source and deployment paths as above. none of them worked, except when i choose deployment to be "\\target\subVI" location that uses this assembly .
So, this works and I was satisfied. However, after deploying, I run into strange problem.
( pleas note that I just created 1 seqeunce file out of 5, that are part of the worskpace,rest everything was done by a guy 8 years back, and although I am well versed with labview, teststand is new to me).
When I run the test on bhild machine, before any of the sequence file executes, a dialog box opens as below:
Once thse values get populated, then steps in the chosen sequence file execute. I found that this is done by a VI , that might be called by some of the sequence file or by some Testsand directory( which I don't know , as I did not create it). Vi is shown below:
However, when i deploy the test, on the deployment machine, as I run the test, it does not complain about any missing .dll or broken VI's, but the dialog box disappears, just does not come up.
As you can see, the only thing i changed from previous deployment was adding following files in deployment : zoundshearingnet.dll and commifnet.dll for the .net deployment, and I do not beleive this should change the VI/VI call that loads the dialog box at the start.
I am also exporting the station globals and testexec.ini files as below:
however, I do get warning in deployment:
So, I have the following questions:
1) does this warning have anything to do with the missing dialog box?
2) as I understand, the VI that flashes the dialog box at the start, use "sequence context" and then "start modal dialog". I tried running the test on build machine, and pasue it, and then, run this VI. it fails on "start model dialog", but that could be because perhaps I am not supoposed to run ot this way? is there a way I could debug this Vi with teststand?
3) Can i know, how is this VI called by testand and who calls it? If i start opening each sequence file, which have hundeders of VI's and subVI's, it will take me hours to do that.
4) so, basically, the problem is that when a sequence is run, a VI interacts with the sequenec and opens a dialog, which after deployment . fails to do so. are there any such examples that i could refer to, to help me understand how this works?
Thanks
vivu -
Openoffice == Build Failed. Aborting... big post lol
ops
///// SNIP(-ed) //////
cd ./english_us ; zip -u /tmp/mkSiX5Qu.zip ./schart.* -x delzip -x "*CVS*"
zip: Command not found.
cp -f /tmp/mkSiX5Qu.zip ../../unxlngi4.pro/bin/schart01.zip
cp: cannot stat `/tmp/mkSiX5Qu.zip': No such file or directory
dmake: Error code 1, while making '../../unxlngi4.pro/bin/schart01.zip'
---* TG_SLO.MK *---
ERROR: Error 65280 occurred while making /usr/abs/unofficial/office/openoffice/src/oo_1.0.2_src/helpcontent/unx/schart
dmake: Error code 1, while making 'build_all'
---* TG_SLO.MK *---
==> Build Failed. Aborting...I'm losing my mind I cant seem do build it, I got this error now e I cant figure it out.
Any help, as always is most welcome, it fails just some seconds into the building process
=============
Building project XmlSearch
=============
/usr/abs/unofficial/office/openoffice/src/oo_1.0.2_src/XmlSearch/src/com/sun/xmlsearch
Making dpj...
javac -classpath ".:../../../../unxlngi4.pro/class:/opt/j2sdk1.4.1/bin/jre/lib/rt.jar:/usr/abs/unofficial/office/openoffice/src/oo_1.0.2_src/solver/641/unxlngi4.pro/bin/jaxp.jar:/usr/abs/unofficial/office/openoffice/src/oo_1.0.2_src/solver/641/unxlngi4.pro/bin/parser.jar:/usr/abs/unofficial/office/openoffice/src/oo_1.0.2_src/solver/641/unxlngi4.pro/bin/xt.jar:/usr/abs/unofficial/office/openoffice/src/oo_1.0.2_src/external/common/jaxp.jar:/usr/abs/unofficial/office/openoffice/src/oo_1.0.2_src/external/common/parser.jar:/usr/abs/unofficial/office/openoffice/src/oo_1.0.2_src/external/common/xt.jar" -d ../../../../unxlngi4.pro/class db/Block.java db/BlockFactory.java db/BlockManager.java db/BlockManagerParameters.java db/BlockProcessor.java db/BlockStack.java db/BtreeDict.java db/BtreeDictParameters.java db/CompactEdgeFormat.java db/DBPartParameters.java db/EdgePrinter.java db/EntryProcessor.java db/FullBtreeDict.java db/FullVectorBtree.java db/Schema.java db/VectorBtree.java db/VectorBtreeIterator.java db/VectorBtreeParameters.java db/VectorFormat.java db/VectorProcessor.java util/ExtensibleURLStreamHandlerFactory.java util/BitBuffer.java util/ByteArrayDecompressor.java util/Compressor.java util/CompressorIterator.java util/ConceptList.java util/ConceptLocation.java util/Configuration.java util/Decompressor.java util/DocumentCompressor.java util/Extent.java util/Index.java util/IndexAccessor.java util/IndexInverter.java util/IntegerArray.java util/LineInput.java util/Location.java util/NonnegativeIntegerGenerator.java util/PrefixTranslator.java util/SimpleTokenizer.java util/StreamDecompressor.java util/Token.java util/Tokenizer.java tree/Names.java tree/Node2.java tree/NodeFactory.java tree/ResultAdapter.java tree/TreeBuilder.java tree/XmlTreeNode.java tree/XmlTreeNodeImpl.java qe/ConceptData.java qe/ConceptGroupGenerator.java qe/GeneratorHeap.java qe/HitStore.java qe/LiteMorph.java qe/LiteMorph_en.java qe/NextDocGenerator.java qe/NextDocGeneratorHeap.java qe/Query.java qe/QueryHit.java qe/RoleFiller.java qe/Rule.java qe/SearchEnvironment.java xml/ContextTables.java xml/XmlIndex.java xml/indexer/ElementIndexer.java xml/indexer/XmlIndexBuilder.java xml/indexer/XmlIndexer.java xml/indexer/XmlIndexingException.java xml/qe/ConceptData.java xml/qe/ConceptData1.java xml/qe/ConceptData2.java xml/qe/ConceptData3.java xml/qe/ConceptData4.java xml/qe/ConceptData5.java xml/qe/ConceptData7.java xml/qe/ConceptDataStart.java xml/qe/ConceptDataStop.java xml/qe/ConceptGroupGenerator.java xml/qe/GeneratorHeap.java xml/qe/HitStore.java xml/qe/MultiTokenLocator.java xml/qe/NextDocGenerator.java xml/qe/NextDocGeneratorHeap.java xml/qe/Query.java xml/qe/QueryFactoryImpl.java xml/qe/QueryHit.java xml/qe/QueryHitData.java xml/qe/QueryHitIterator.java xml/qe/QueryProcessor.java xml/qe/QueryProcessorImpl.java xml/qe/QueryResults.java xml/qe/QueryStatement.java xml/qe/RoleFiller.java xml/qe/Search.java
db/FullVectorBtree.java:160: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
assert(_free > 0 && _free <= _blockSize);
^
db/VectorBtree.java:277: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
public static void assert(boolean assertion) {
^
db/VectorBtree.java:352: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
assert(stack.size() == 0);
^
util/ExtensibleURLStreamHandlerFactory.java:82: unreachable statement
return (URLStreamHandler)handlerClass.newInstance();;
^
Note: Some input files use or override a deprecated API.
Note: Recompile with -deprecation for details.
1 error
3 warnings
dmake: Error code 1, while making '../../../../unxlngi4.pro/misc/com_sun_xmlsearch_dummy.java'
---* TG_SLO.MK *---
ERROR: Error 65280 occurred while making /usr/abs/unofficial/office/openoffice/src/oo_1.0.2_src/XmlSearch/src/com/sun/xmlsearch
dmake: Error code 1, while making 'build_all'
---* TG_SLO.MK *---
==> Build Failed. Aborting... -
Creative Cloud Packager - Build fail
Hi,
I am trying to build a package with CC 1.7 build 43 but receive the error 'Build fail'. I have pasted the log below. I have tried both x86 and x64 but it doesn't make a difference. I also tried building it without Illustrator but then received the same error with with Acrobat Pro.
The only adobe productso on my workstation is Reader and Flash, running Win7. Any ideas how i can fix this?
10/28/2014 09:41:28[INFO] AdobePackageBuilder - Build Version - 1.7.0.43
10/28/2014 09:41:28[INFO] AdobePackageBuilder - Logging Level verbosity Set to 4
10/28/2014 09:41:58 [INFO] AdobePackageBuilder - Successfully retrieved TargetName from OptionXML.
10/28/2014 09:42:15 [INFO] AdobePackageBuilder - Sucessfully extracted the product at C:\Users\brettm\AppData\Local\Temp\{EE9A7B5D-B687-482F-906D-3BC2C4C17DAA}\ACCCx2_8_1_451
10/28/2014 09:42:15 [INFO] AdobePackageBuilder - Extraction completed with return code = 0
10/28/2014 09:42:51 [WARN] AdobePackageBuilder - No file exist at (C:\CC\QLS_Digital\x86\QLS_Digital_x86\Build\ASU\Tools\CCC\Uninstall\deploy\remove.xml)
10/28/2014 09:42:55 [INFO] AdobePackageBuilder - Copied File (payloads\Media_db.db)
10/28/2014 09:42:55 [INFO] AdobePackageBuilder - Copied File (payloads\Media_db.sig)
10/28/2014 09:42:55 [INFO] AdobePackageBuilder - Copied File (payloads\Setup.xml)
10/28/2014 09:42:55 [INFO] AdobePackageBuilder - ASU at Path (C:\CC\QLS_Digital\x86\QLS_Digital_x86\Build\Setup\APRO11.0.0en_GB\Set-up.exe) is not found. Skipping copying and renaming.
10/28/2014 09:44:23 [INFO] AdobePackageBuilder - Copied Setup file/folder (packages)
10/28/2014 09:44:27 [INFO] AdobePackageBuilder - Copied Setup file/folder (resources)
10/28/2014 09:44:27 [INFO] AdobePackageBuilder - Copied File (Set-up.exe)
10/28/2014 09:44:28 [INFO] AdobePackageBuilder - Copied File (payloads\Media_db.db)
10/28/2014 09:44:28 [INFO] AdobePackageBuilder - Copied File (payloads\Media_db.sig)
10/28/2014 09:44:28 [INFO] AdobePackageBuilder - Copied File (payloads\Setup.xml)
10/28/2014 09:45:08 [INFO] AdobePackageBuilder - Copied Setup file/folder (packages)
10/28/2014 09:45:11 [INFO] AdobePackageBuilder - Copied Setup file/folder (resources)
10/28/2014 09:45:11 [INFO] AdobePackageBuilder - Copied File (Set-up.exe)
10/28/2014 09:45:12 [INFO] AdobePackageBuilder - Copied File (payloads\Media_db.db)
10/28/2014 09:45:12 [INFO] AdobePackageBuilder - Copied File (payloads\Media_db.sig)
10/28/2014 09:45:12 [INFO] AdobePackageBuilder - Copied File (payloads\setup.xml)
10/28/2014 09:46:09 [ERROR] AdobePackageBuilder - Failed to unzip the file (payloads\AdobeIllustrator18-mul-300914132703\Assets1_1.zip) from the zip file (C:\Users\brettm\AppData\Local\Adobe\AAMUpdater\1.0\Install\AdobeIllustrator18-mul\18.1.0 .430.2\setup.zip).
10/28/2014 09:46:09 [ERROR] AdobePackageBuilder - Failed to unzip the update - C:\Users\brettm\AppData\Local\Adobe\AAMUpdater\1.0\Install\AdobeIllustrator18-mul\18.1.0. 430.2\setup.zip.
Regards,
Brett.If I recall correctly I got around this by deleting everything under the C:\Users\brettm\AppData\Local\Adobe\AAMUpdater\1.0\Install directory and whitelisted the following address in our proxy server. Then I started all over again and it worked. It always failed towards the end of the build so I can only assume it was doing some final checks with Adobe servers to make sure I had the proper licencing or something like that. Hope this helps.
ccmdl.adobe.com:80
swupmf.adobe.com:80
swupdl.adobe.com:80
https://na1mbls.licenses.adobe.com
https://ims-na1.adobelogin.com
https://adobeid-na1.services.adobe.com
https://na1r.services.adobe.com
http://activate.adobe.com
https://activate.adobe.com
http://adobe.activate.com
https://adobe.activate.com
ccmdls.adobe.com:443
ims-na1.adobelogin.com:443
na1r.services.adobe.com:443
prod-rel-ffc-ccm.oobesaas.adobe.com:443
lm.licenses.adobe.com:443
www-du1.adobe.com
Regards,
Brett. -
When I create an EJB Transport Business Service, after selecting the jar that has the EJB 2.1 artefacts (Remote, Home, etc) the oepe plugin fails and can't continue.
As I understand it seems that there is a problem with the classpath of ant build.xml that oepe creates inside folder /tmp/alsbejbtransport/ to compile the bs and generate the wsdl. I checked if tools.jar is in the classpath (in eclipse) and is included, so I can't figure out wich is the problem.
I found this in Oracle, but not helps solve the problem:
BEA-398120
Error: The WSDL for the typed transport endpoint could not be accessed.
Description
There was a problem retrieving the WSDL from the typed transport service endpoint at the time of service registration
Action
Contact technical support
This is the the full stacktrace that shows eclipse.
Generate : Error during generation of the WSDL:
BUILD FAILED
java.lang.NoClassDefFoundError: com/sun/javadoc/Type
at com.bea.util.jam.provider.JamServiceFactoryImpl.createSourceBuilder(JamServiceFactoryImpl.java:205)
at com.bea.util.jam.provider.JamServiceFactoryImpl.createBuilder(JamServiceFactoryImpl.java:158)
at com.bea.util.jam.provider.JamServiceFactoryImpl.createClassLoader(JamServiceFactoryImpl.java:137)
at com.bea.util.jam.provider.JamServiceFactoryImpl.createService(JamServiceFactoryImpl.java:78)
at weblogic.wsee.util.JamUtil.parseSource(JamUtil.java:152)
at weblogic.wsee.tools.anttasks.JwsLoader.loadJClasses(JwsLoader.java:186)
at weblogic.wsee.tools.anttasks.JwsLoader.load(JwsLoader.java:75)
at weblogic.wsee.tools.anttasks.JwsModule.loadWebServices(JwsModule.java:569)
at weblogic.wsee.tools.anttasks.JwsModule.generate(JwsModule.java:369)
at weblogic.wsee.tools.anttasks.JwsModule.build(JwsModule.java:256)
at weblogic.wsee.tools.anttasks.JwscTask.execute(JwscTask.java:184)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
at org.apache.tools.ant.Main.runBuild(Main.java:758)
at org.apache.tools.ant.Main.startAnt(Main.java:217)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
Caused by: java.lang.ClassNotFoundException: com.sun.javadoc.Type
at org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoader.java:1400)
at org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:1341)
at org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:1088)
at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
... 27 more
Total time: 0 seconds
Eclipse Installation details:
*** System properties:
eclipse.application=org.eclipse.ui.ide.workbench
eclipse.buildId=M20110909-1335
eclipse.commands=-os
linux
-ws
gtk
-arch
x86_64
-showsplash
-launcher
{home}/Development/oepe-indigo/eclipse
-name
Eclipse
--launcher.library
{home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.100.v20110505/eclipse_1407.so
-startup
{home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
--launcher.overrideVmargs
-exitdata
1e418010
-vm
/usr/bin/java
eclipse.home.location=file:{home}/Development/oepe-indigo/
eclipse.launcher={home}/Development/oepe-indigo/eclipse
eclipse.launcher.name=Eclipse
[email protected]/../p2/
eclipse.p2.profile=PlatformProfile
eclipse.product=org.eclipse.platform.ide
eclipse.startTime=1374623921455
eclipse.vm=/usr/bin/java
eclipse.vmargs=-Xms256m
-Xmx768m
-XX:MaxPermSize=512m
-Dsun.lang.ClassLoader.allowArraySyntax=true
-Dweblogic.home={home}/Oracle/Middleware/wlserver_10.3
-Dharvester.home={home}/Oracle/Middleware/Oracle_OSB1/harvester
-Dosb.home={home}/Oracle/Middleware/Oracle_OSB1
-Dosgi.bundlefile.limit=750
-Dosgi.nl=en_US
-Dmiddleware.home={home}/Oracle/Middleware
-jar
{home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
equinox.use.ds=true
file.encoding=UTF-8
file.encoding.pkg=sun.io
file.separator=/
guice.disable.misplaced.annotation.check=true
harvester.home={home}/Oracle/Middleware/Oracle_OSB1/harvester
http.nonProxyHosts=localhost
java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment
java.awt.printerjob=sun.print.PSPrinterJob
java.class.path={home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
java.class.version=50.0
java.endorsed.dirs=/usr/lib/jvm/jdk1.6.0_45/jre/lib/endorsed
java.ext.dirs=/usr/lib/jvm/jdk1.6.0_45/jre/lib/ext:/usr/java/packages/lib/ext
java.home=/usr/lib/jvm/jdk1.6.0_45/jre
java.io.tmpdir=/tmp
java.library.path=/usr/lib/jvm/jdk1.6.0_45/jre/lib/amd64/server:/usr/lib/jvm/jdk1.6.0_45/jre/lib/amd64:/usr/lib/jvm/jdk1.6.0_45/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
java.protocol.handler.pkgs=null|com.bea.wli.sb.resources.url|com.bea.wli.sb.resources.jca.upgrade.url|weblogic.utils|weblogic.utils|weblogic.utils|weblogic.net|weblogic.net
java.runtime.name=Java(TM) SE Runtime Environment
java.runtime.version=1.6.0_45-b06
java.specification.name=Java Platform API Specification
java.specification.vendor=Sun Microsystems Inc.
java.specification.version=1.6
java.vendor=Sun Microsystems Inc.
java.vendor.url=http://java.sun.com/
java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi
java.version=1.6.0_45
java.vm.info=mixed mode
java.vm.name=Java HotSpot(TM) 64-Bit Server VM
java.vm.specification.name=Java Virtual Machine Specification
java.vm.specification.vendor=Sun Microsystems Inc.
java.vm.specification.version=1.0
java.vm.vendor=Sun Microsystems Inc.
java.vm.version=20.45-b01
javax.rmi.CORBA.PortableRemoteObjectClass=weblogic.iiop.PortableRemoteObjectDelegateImpl
javax.rmi.CORBA.UtilClass=weblogic.iiop.UtilDelegateImpl
jna.platform.library.path=/usr/lib/x86_64-linux-gnu:/lib/x86_64-linux-gnu:/lib64:/usr/lib:/lib
line.separator=
middleware.home={home}/Oracle/Middleware
oracle.eclipse.tools.weblogic.ui.isWebLogicServer=true
org.apache.commons.logging.Log=org.apache.commons.logging.impl.NoOpLog
org.eclipse.equinox.launcher.splash.location={home}/Development/oepe-indigo/plugins/org.eclipse.platform_3.7.1.v201109091335/splash.bmp
org.eclipse.equinox.simpleconfigurator.configUrl=file:org.eclipse.equinox.simpleconfigurator/bundles.info
org.eclipse.m2e.log.dir={home}/workspace/pragma/.metadata/.plugins/org.eclipse.m2e.logback.configuration
org.eclipse.update.reconcile=false
org.omg.CORBA.ORBClass=weblogic.corba.orb.ORB
org.omg.CORBA.ORBSingletonClass=weblogic.corba.orb.ORB
org.osgi.framework.executionenvironment=OSGi/Minimum-1.0,OSGi/Minimum-1.1,OSGi/Minimum-1.2,JRE-1.1,J2SE-1.2,J2SE-1.3,J2SE-1.4,J2SE-1.5,JavaSE-1.6
org.osgi.framework.language=en
org.osgi.framework.os.name=Linux
org.osgi.framework.os.version=3.8.0
org.osgi.framework.processor=x86-64
org.osgi.framework.system.capabilities=osgi.ee; osgi.ee="OSGi/Minimum"; version:List<Version>="1.0, 1.1, 1.2",osgi.ee; osgi.ee="JavaSE"; version:List<Version>="1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6"
org.osgi.framework.system.packages=javax.accessibility,javax.activation,javax.activity,javax.annotation,javax.annotation.processing,javax.crypto,javax.crypto.interfaces,javax.crypto.spec,javax.imageio,javax.imageio.event,javax.imageio.metadata,javax.imageio.plugins.bmp,javax.imageio.plugins.jpeg,javax.imageio.spi,javax.imageio.stream,javax.jws,javax.jws.soap,javax.lang.model,javax.lang.model.element,javax.lang.model.type,javax.lang.model.util,javax.management,javax.management.loading,javax.management.modelmbean,javax.management.monitor,javax.management.openmbean,javax.management.relation,javax.management.remote,javax.management.remote.rmi,javax.management.timer,javax.naming,javax.naming.directory,javax.naming.event,javax.naming.ldap,javax.naming.spi,javax.net,javax.net.ssl,javax.print,javax.print.attribute,javax.print.attribute.standard,javax.print.event,javax.rmi,javax.rmi.CORBA,javax.rmi.ssl,javax.script,javax.security.auth,javax.security.auth.callback,javax.security.auth.kerberos,javax.security.auth.login,javax.security.auth.spi,javax.security.auth.x500,javax.security.cert,javax.security.sasl,javax.sound.midi,javax.sound.midi.spi,javax.sound.sampled,javax.sound.sampled.spi,javax.sql,javax.sql.rowset,javax.sql.rowset.serial,javax.sql.rowset.spi,javax.swing,javax.swing.border,javax.swing.colorchooser,javax.swing.event,javax.swing.filechooser,javax.swing.plaf,javax.swing.plaf.basic,javax.swing.plaf.metal,javax.swing.plaf.multi,javax.swing.plaf.synth,javax.swing.table,javax.swing.text,javax.swing.text.html,javax.swing.text.html.parser,javax.swing.text.rtf,javax.swing.tree,javax.swing.undo,javax.tools,javax.transaction,javax.transaction.xa,javax.xml,javax.xml.bind,javax.xml.bind.annotation,javax.xml.bind.annotation.adapters,javax.xml.bind.attachment,javax.xml.bind.helpers,javax.xml.bind.util,javax.xml.crypto,javax.xml.crypto.dom,javax.xml.crypto.dsig,javax.xml.crypto.dsig.dom,javax.xml.crypto.dsig.keyinfo,javax.xml.crypto.dsig.spec,javax.xml.datatype,javax.xml.namespace,javax.xml.parsers,javax.xml.soap,javax.xml.stream,javax.xml.stream.events,javax.xml.stream.util,javax.xml.transform,javax.xml.transform.dom,javax.xml.transform.sax,javax.xml.transform.stax,javax.xml.transform.stream,javax.xml.validation,javax.xml.ws,javax.xml.ws.handler,javax.xml.ws.handler.soap,javax.xml.ws.http,javax.xml.ws.soap,javax.xml.ws.spi,javax.xml.ws.wsaddressing,javax.xml.xpath,org.ietf.jgss,org.omg.CORBA,org.omg.CORBA_2_3,org.omg.CORBA_2_3.portable,org.omg.CORBA.DynAnyPackage,org.omg.CORBA.ORBPackage,org.omg.CORBA.portable,org.omg.CORBA.TypeCodePackage,org.omg.CosNaming,org.omg.CosNaming.NamingContextExtPackage,org.omg.CosNaming.NamingContextPackage,org.omg.Dynamic,org.omg.DynamicAny,org.omg.DynamicAny.DynAnyFactoryPackage,org.omg.DynamicAny.DynAnyPackage,org.omg.IOP,org.omg.IOP.CodecFactoryPackage,org.omg.IOP.CodecPackage,org.omg.Messaging,org.omg.PortableInterceptor,org.omg.PortableInterceptor.ORBInitInfoPackage,org.omg.PortableServer,org.omg.PortableServer.CurrentPackage,org.omg.PortableServer.POAManagerPackage,org.omg.PortableServer.POAPackage,org.omg.PortableServer.portable,org.omg.PortableServer.ServantLocatorPackage,org.omg.SendingContext,org.omg.stub.java.rmi,org.w3c.dom,org.w3c.dom.bootstrap,org.w3c.dom.css,org.w3c.dom.events,org.w3c.dom.html,org.w3c.dom.ls,org.w3c.dom.ranges,org.w3c.dom.stylesheets,org.w3c.dom.traversal,org.w3c.dom.views,org.w3c.dom.xpath,org.xml.sax,org.xml.sax.ext,org.xml.sax.helpers
org.osgi.framework.uuid=901615cd-f3f3-0012-11b6-a3bca4d97ac1
org.osgi.framework.vendor=Eclipse
org.osgi.framework.version=1.6.0
org.osgi.supports.framework.extension=true
org.osgi.supports.framework.fragment=true
org.osgi.supports.framework.requirebundle=true
os.arch=amd64
os.name=Linux
os.version=3.8.0-26-generic
osb.home={home}/Oracle/Middleware/Oracle_OSB1
osgi.arch=x86_64
osgi.bundlefile.limit=750
osgi.bundles=reference:file:javax.transaction_1.1.1.v201105210645.jar,reference:file:org.eclipse.equinox.simpleconfigurator_1.0.200.v20110502-1955.jar@1:start
osgi.bundles.defaultStartLevel=4
osgi.bundlestore={home}/Development/oepe-indigo/configuration/org.eclipse.osgi/bundles
osgi.configuration.area=file:{home}/Development/oepe-indigo/configuration/
osgi.framework=file:{home}/Development/oepe-indigo/plugins/org.eclipse.osgi_3.7.1.R37x_v20110808-1106.jar
osgi.framework.extensions=reference:file:javax.transaction_1.1.1.v201105210645.jar
osgi.framework.shape=jar
osgi.framework.version=3.7.1.R37x_v20110808-1106
osgi.frameworkClassPath=., file:{home}/Development/oepe-indigo/plugins/javax.transaction_1.1.1.v201105210645.jar
osgi.install.area=file:{home}/Development/oepe-indigo/
osgi.instance.area=file:{home}/workspace/pragma/
osgi.instance.area.default=file:{home}/workspace/
osgi.logfile={home}/workspace/pragma/.metadata/.log
osgi.manifest.cache={home}/Development/oepe-indigo/configuration/org.eclipse.osgi/manifests
osgi.nl=en_US
osgi.nl.user=en_US
osgi.os=linux
osgi.splashLocation={home}/Development/oepe-indigo/plugins/org.eclipse.platform_3.7.1.v201109091335/splash.bmp
osgi.splashPath=platform:/base/plugins/org.eclipse.platform
osgi.syspath={home}/Development/oepe-indigo/plugins
osgi.tracefile={home}/workspace/pragma/.metadata/trace.log
osgi.ws=gtk
path.separator=:
securerandom.source=file:/dev/./urandom
socksNonProxyHost=localhost
sun.arch.data.model=64
sun.boot.class.path=/usr/lib/jvm/jdk1.6.0_45/jre/lib/resources.jar:/usr/lib/jvm/jdk1.6.0_45/jre/lib/rt.jar:/usr/lib/jvm/jdk1.6.0_45/jre/lib/sunrsasign.jar:/usr/lib/jvm/jdk1.6.0_45/jre/lib/jsse.jar:/usr/lib/jvm/jdk1.6.0_45/jre/lib/jce.jar:/usr/lib/jvm/jdk1.6.0_45/jre/lib/charsets.jar:/usr/lib/jvm/jdk1.6.0_45/jre/lib/modules/jdk.boot.jar:/usr/lib/jvm/jdk1.6.0_45/jre/classes
sun.boot.library.path=/usr/lib/jvm/jdk1.6.0_45/jre/lib/amd64
sun.cpu.endian=little
sun.cpu.isalist=
sun.desktop=gnome
sun.io.unicode.encoding=UnicodeLittle
sun.java.command={home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar -os linux -ws gtk -arch x86_64 -showsplash -launcher {home}/Development/oepe-indigo/eclipse -name Eclipse --launcher.library {home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.100.v20110505/eclipse_1407.so -startup {home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar --launcher.overrideVmargs -exitdata 1e418010 -vm /usr/bin/java -vmargs -Xms256m -Xmx768m -XX:MaxPermSize=512m -Dsun.lang.ClassLoader.allowArraySyntax=true -Dweblogic.home={home}/Oracle/Middleware/wlserver_10.3 -Dharvester.home={home}/Oracle/Middleware/Oracle_OSB1/harvester -Dosb.home={home}/Oracle/Middleware/Oracle_OSB1 -Dosgi.bundlefile.limit=750 -Dosgi.nl=en_US -Dmiddleware.home={home}/Oracle/Middleware -jar {home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
sun.java.launcher=SUN_STANDARD
sun.jnu.encoding=UTF-8
sun.lang.ClassLoader.allowArraySyntax=true
sun.management.compiler=HotSpot 64-Bit Tiered Compilers
sun.os.patch.level=unknown
svnkit.http.methods=Basic
svnkit.library.gnome-keyring.enabled=false
user.country=AR
user.dir={home}/Development/oepe-indigo
user.home={home}
user.language=es
user.name={username}
user.timezone=America/Argentina/Buenos_Aires
weblogic.home={home}/Oracle/Middleware/wlserver_10.3
Thanks!!run this one in command prompt and then convert the applet using converter tool
JC_HOME = C:\java_card_kit-2_2_2\bin\
set CLASSES=%JCHOME%\lib\apduio.jar;%JC_HOME%\lib\apdutool.jar;%JC_HOME%\lib\jcwde.jar;%JC_HOME%\lib\converter.jar;%JC_HOME%\lib\scriptgen.jar;%JC_HOME%\lib\offcardverifier.jar;%JC_HOME%\lib\api.jar;%JC_HOME%\lib\installer.jar;%JC_HOME%\lib\capdump.jar;
D:\NareshPalle\jcardRE\Smart\src>java -classpath %_CLASSES% com.sun.javacard.con
verter.Converter -out EXP JCA CAP -exportpath .\exp -applet 0x0a:0x00:0x00:0x00:0x0e:0x01:0x02:
0x03:0x04:0x05:0x06 PackageName appletName 0x01:0x02:0x03:0x04:0x05:0x0
6:0x07:0x08 1.0
or
go to following directory and run the converter tool in command prompt
step 1: cd C:\java_card_kit-2_2_2\bin\
then run this command under the above directory
step 2:converter -classdir E:\Pathof Your applet class file -out EXP JCA CAP -exportpath E:\path of exp files folder -applet AID PackageName AppletName PackAID major.minor no
For more doubts mail me....
*[removed by moderator]*
Thanks and Regards
NareshPalle
Edited by: EJP on 31/03/2012 20:09: removed your email address. Unless you like spam and unless you think these forums are provided for your personal benefit only, posting an email address here serves no useful purpose whatsoever. -
Executable build failing with no error message with smtp email VIs
I have a VI which I want to build into a .exe which will be used as an HMI for a real-time system. I am using the SMTP VIs to text/email me various notifications about the system state. The main VI works fine if run but will not build into an .exe. The error message comes back blank so no help there (LabView 2010). If I just simply disable the portion of the code in the HMI.VI which contains the email VI code, the application builds. I searched for anwers and was unable to resolve the problem. Any ideas? Do I need to include anything in the build that is specific to the LabView SMTP VIs? I'm new to building .exe's so I appologize for any rookie mistakes I may have made.
Thanks.mikeporter wrote:
You said you searched for answers (on the forum?).
Yes.
What did you find?
I found a bunch of topics on email send errors after the application was built but nothing related to .exe building failures (related to the SMTP/email VIs). I also found topics dicussing the bug that fails to report an (any) error during the .exe build (for 2011). The solution was to install the service pack. if that's my problem then I will have to go through the motions to get that done (corporate computers / lack of persmissons and such).
What have you tried? This question has been answered many, many, many times.
I tried what I stated in the OP. If I disable the portion of the code which contains the email SMTP VIs, the application builds, otherwise, the build fails and no error code or description is given.
PS: probably has nothing to do with the SMTP drivers, per se.
If the answer has been given many, many times, then I appologize for not being able to find it before posting. Trust me, the last thing I want to is waste my time fishing for answers on the forum, especially when I get a response from forum members who would rather point out that my mis-identified problem has been answered many, many times, rather then just helping me out. -
VS Project build fails on TSQL Code in script.
Hi there,
I have the following issue on which I've done some research, but nothing helps.
The database project I am working on compiles everything but one script. The scripts folder has 3 scripts, a controller that calls the remainder two.
One of these scripts fail on SQL syntax which is weird because they seem to be okay and SSMS would not complain. Having experimented a little I found that any SQL statement fails on syntax, there must be a configuration issue here.
What I have tried so far:
-add the script as a stored procedure and reference it within the script, so that the script will have one line only (EXEC usp_BuildTestData - it is needless to say that the stored procedure compiles well...)
-create a new script file (without build) from within VS.
-check if the script file BuildAction property is set to None
-load the script file and switch off the SQLCMD mode in t-SQL Editor Execution settings.
Build still fails with SQL72007: The syntax check failed 'Incorrect syntax near EXEC' in the batch near 'EXEC usp_BuildTestData '.
I thought this was a common error or at least something I could easily find a solution for.
Unfortunately VS is somewhat new to me.
Any ideas are appreciated.
Versions:
Visual Studio Pro 2012 (Version 11.0.50727.1 RTMREL) (.Net FW: 4.5.50709)
Target database version: SQL 2008R2 (this is set in the project's target platform setting)Hi Tina,
Thank you for getting back to me. I inherited the project file in subject therefore I cannot tell how it was created. But, I tried re-creating the database project from scratch that resulted in the same error. Steps below:
-Select New Solution/ new SQL Server database project
-Copy the sql files and folders into solution folder then map them into the project file
-build the project.
The database is based upon C#.
The idea of the post deployment script is that it builds test data in the freshly deployed application. It uses a linked server that points to production and selects some data.
I continued experimenting with the post deployment script and found something interesting.
So 1 of the invoked scripts fail on the SQL syntax. This is a simple line EXEC usp_BuildTestData.
The other that compiles well is an ALTER VIEW. I pasted the EXEC... line after this and it worked. It builds now. (I have removed the remaining empty script file, so I have 1 post deployment script file now that invokes 1 script only.
I tried comparing the two files but concluded in the fact that each property is the same (Buildaction=None, CopyAlways) in both files.
This proves to me that the SQL code was correct, I did not leave obvious mistakes in it.
The "bad" script file fails on syntax, regardless of what I give in. I tried recreating by clicking 'Add new item' then selecting Script (Not in build). Did not help unfortunately. Once referenced in the PostDeployment script, build fails. -
I use BPM standalone 10g and BPM studio 10g.
I copy the AntTasks folder to F:
Then, I change the BPMHOME of all files.
Then, I ran the ant.
However, the ant is fail.
Error mesage:
F:\AntTasks\build.xml: 268: The file or path you specified (..\..\basic) is invalid relative to F:\AntTasks
or The command line shows error:
Build failed
F:\AntTasks\build.xml:268: Cannot resolve path F:\AntTasks\..\..\basic
The build file is like that
<property name="bpm.projects.dir" value="${basedir}/../../basic" />
<property name="fuego.basedir" value="D:\BPM_HOME" />
How to change the path?
Then, I copy the above folder to D:\BPM_HOME\samples
I rerun the ant script.
set ANT_ARGS=-lib D:\BPM_HOME\lib;D:\BPM_HOME\ext
ant -Denv=EDV deploy-bpm-project
But the build is failed again. The error message as as follow:
D:\BPM_HOME\samples\interop\AntTasks\build.xml:249: Properties file does not exist! D:\BPM_HOME\samples\interop\AntTasks\config\EDV\directory.xml
However, I do not delete files.Now, I use the original AntTasks sample and run the scripts. I stop the BPM application.
I follow each step of the readme.txt. But during the first step, it shows error of illegal arguments.
New engin can be created. But it cannot be run through ant. And I cannot deploy the BPM project.
I try in the second method.
I have a Default Eirectory Configuration named default. If I just want to deploy .exp file to default, how to modify the script files?
I just run the script of deployment. The build is still failed.
I cannot find xsi in all xml file in that folder
D:\BPM_HOME\samples\interop\AntTasks_defaultEngine>set ANT_ARGS=-lib
D:\BPM_HOME\lib;D:\BPM_HOME_standalone\ext
D:\BPM_HOME\samples\interop\AntTasks_defaultEngine>ant deploy-bpm-pro
ject
Buildfile: build.xml
[input] No environment specified. Please enter environment id:(DEV,PROD,UAT,
config)
DEV
prompt-project-name:
[echo] bpm.projects.dir = ../../basic
[input] Please enter project name:(ExpenseManagement,HROnboarding)
HROnboarding
deploy-bpm-project:
[input] Enter Organizational Unit for deployment (may be empty):
ou
[input] Force new major version?(y,n)
y
[unzip] Expanding: D:\BPM_HOME_standalone\samples\basic\HROnboarding.exp int
o D:\BPM_HOME_standalone\samples\basic
[echo] Publishing and deploying HROnboarding project on DEV environment ...
[fuego:session] fuego base dir [\BPM_HOME]
[fuego:session] CREATE_CONNECTOR 正在创建连接器 [fuego:SQL]
[fuego:publish] text = nostore
[fuego:publish] text = nostore
[fuego:publish] [Error] :3:69: <Line 3, Column 69>: XML-20129: (Error) Namespace
prefix 'xsi' used but not declared.
[fuego:publish] [Error] :8:33: <Line 8, Column 33>: XML-20129: (Error) Namespace
prefix 'xsi' used but not declared.
[fuego:publish] [Error] :10:34: <Line 10, Column 34>: XML-20129: (Error) Namespa
ce prefix 'xsi' used but not declared.
[fuego:publish] [Error] :12:40: <Line 12, Column 40>: XML-20129: (Error) Namespa
ce prefix 'xsi' used but not declared.
[fuego:publish] [Error] :14:42: <Line 14, Column 42>: XML-20129: (Error) Namespa
ce prefix 'xsi' used but not declared.
[fuego:publish] [Error] :16:32: <Line 16, Column 32>: XML-20129: (Error) Namespa
ce prefix 'xsi' used but not declared.
[fuego:publish] [Error] :18:34: <Line 18, Column 34>: XML-20129: (Error) Namespa
ce prefix 'xsi' used but not declared.
[fuego:publish] [Error] :20:37: <Line 20, Column 37>: XML-20129: (Error) Namespa
ce prefix 'xsi' used but not declared.
[fuego:publish] [Error] :22:50: <Line 22, Column 50>: XML-20129: (Error) Namespa
ce prefix 'xsi' used but not declared.
[fuego:publish] [Error] :30:39: <Line 30, Column 39>: XML-20129: (Error) Namespa
ce prefix 'xsi' used but not declared.
[fuego:publish] [Error] :32:35: <Line 32, Column 35>: XML-20129: (Error) Namespa
ce prefix 'xsi' used but not declared.
[fuego:publish] [Error] :38:38: <Line 38, Column 38>: XML-20129: (Error) Namespa
ce prefix 'xsi' used but not declared.
[fuego:publish] [Error] :42:43: <Line 42, Column 43>: XML-20129: (Error) Namespa
ce prefix 'xsi' used but not declared.
[fuego:publish] [Error] :44:33: <Line 44, Column 33>: XML-20129: (Error) Namespa
ce prefix 'xsi' used but not declared.
[fuego:publish] [Error] :46:38: <Line 46, Column 38>: XML-20129: (Error) Namespa
ce prefix 'xsi' used but not declared.
[fuego:publish] [Error] :48:35: <Line 48, Column 35>: XML-20129: (Error) Namespa
ce prefix 'xsi' used but not declared.
[fuego:publish] [Error] :3:69: <Line 3, Column 69>: XML-20129: (Error) Namespace
prefix 'xsi' used but not declared.
[fuego:publish] [Error] :8:33: <Line 8, Column 33>: XML-20129: (Error) Namespace
prefix 'xsi' used but not declared.
[fuego:publish] [Error] :10:34: <Line 10, Column 34>: XML-20129: (Error) Namespa
ce prefix 'xsi' used but not declared.
[fuego:publish] [Error] :12:40: <Line 12, Column 40>: XML-20129: (Error) Namespa
ce prefix 'xsi' used but not declared.
[fuego:publish] [Error] :14:42: <Line 14, Column 42>: XML-20129: (Error) Namespa
ce prefix 'xsi' used but not declared.
[fuego:publish] [Error] :16:32: <Line 16, Column 32>: XML-20129: (Error) Namespa
ce prefix 'xsi' used but not declared.
[fuego:publish] [Error] :18:34: <Line 18, Column 34>: XML-20129: (Error) Namespa
ce prefix 'xsi' used but not declared.
[fuego:publish] [Error] :20:37: <Line 20, Column 37>: XML-20129: (Error) Namespa
ce prefix 'xsi' used but not declared.
[fuego:publish] [Error] :22:50: <Line 22, Column 50>: XML-20129: (Error) Namespa
ce prefix 'xsi' used but not declared.
[fuego:publish] [Error] :30:39: <Line 30, Column 39>: XML-20129: (Error) Namespa
ce prefix 'xsi' used but not declared.
[fuego:publish] [Error] :32:35: <Line 32, Column 35>: XML-20129: (Error) Namespa
ce prefix 'xsi' used but not declared.
[fuego:publish] [Error] :38:38: <Line 38, Column 38>: XML-20129: (Error) Namespa
ce prefix 'xsi' used but not declared.
[fuego:publish] [Error] :42:43: <Line 42, Column 43>: XML-20129: (Error) Namespa
ce prefix 'xsi' used but not declared.
[fuego:publish] [Error] :44:33: <Line 44, Column 33>: XML-20129: (Error) Namespa
ce prefix 'xsi' used but not declared.
[fuego:publish] [Error] :46:38: <Line 46, Column 38>: XML-20129: (Error) Namespa
ce prefix 'xsi' used but not declared.
[fuego:publish] [Error] :48:35: <Line 48, Column 35>: XML-20129: (Error) Namespa
ce prefix 'xsi' used but not declared.
BUILD FAILED
D:\BPM_HOME\samples\interop\AntTasks_defaultEngine\build.xml:261: jav
a.lang.IllegalArgumentException
Maybe you are looking for
-
Can't add music to ipod touch even though computer and itunes recognize it
I have an ipod touch 4th generation that has suddenly stopped allowing me to add any music to it. It worked absolutely great with no problems for about a year and suddenly when I load it up on itunes I can't add any music to it at all. if I try and
-
What's wrong with this html and css code? ref: Create your first website tut.
In reply to David Powers re: design view doesn't translate to browser. I hope this is the approved way to send copies of code and images. <!doctype html> <html> <head> <meta charset="utf-8"> <title>cable cars</title> <link href="main.css" rel="style
-
Collection showing HTML code in report
I'm trying to upgrade/rebuild an application. It was in 3.2 and now I'm moving to 4.1. Since APEX doesn't allow two tabular forms on the same page, I was trying to use collection handling to do the same thing, but I'm running into something I never s
-
Plz help me to understand sql trace
Hi, i need your help to understand the sql trace and where exactly i should concentrate, i am also going through docs, your help is appreciated, select count(rep) from (select /*+ leading(v1 v2) use_nl_with_index(v2) */ count(v1.val) rep from (sele
-
Calling IP from a Session Bean
I am looking to put some security on our EJBs based on the callers IP address. I can't seem to figure out how to get the calling IP from within the session bean. Does security need to be enabled to get this information? Is there something that I am m