Compile error during make: ansidecl.h: No such file or directory
Hi - I was trying to make a ruby app and I ran into the following error which seems to have originated in gcc. I can't seem to find much about it on Google, would very much appreciate some help with how to get to the bottom of this, thanks!:
checking for main() in -liberty... no
creating Makefile
In file included from dirfibheap.h:5,
from dirfibheap.c:2:
*fibheap.h:44:22: error: ansidecl.h: No such file or directory*
make: * \[dirfibheap.o] Error 1
gcc -fno-common -g -Os -pipe -fno-common -pipe -fno-common -pipe -fno-common -I. -I/usr/lib/ruby/1.8/universal-darwin8.0 -I/usr/lib/ruby/1.8/universal-darwin8.0 -I. -c dirfibheap.c
Apple's gcc doesn't come with this file. It is unlikely that simply getting a version of the file will work. My guess is that you would have to either install an alternative version of gcc which includes it or edit the source code of the app you're compiling to avoid it. Whether either of these would work, I can't say. Obviously this application is not ported to or supported on Mac OS X (if it is meant to be, report the bug). That means there are likely other issues which will crop up if you sort this one. I don't say this to put you off but only as a warning. (This may be superfluous and you may know all this very well. If so, my apologies.)
What are you trying to compile? Have you tried the forums for the application? Has anybody else compiled it for OS X? Have you seen if Fink or Mac Ports have it?
- cfr
Similar Messages
-
Error: null/config/deploy.properties (No such file or directory)
Hi,
I installed Weblogic 10.3.5, SOA Suite 11.1.1.5 and the installed AIA 11.1.1.5. Install completes successfully and everything seems to be up and running for AIA in the Enterprise Manager but when I go to the following
http://hostname:8001/AIA
Login and click on the 'About AIA' on the top right hand corner I get the following error
Error: null/config/deploy.properties (No such file or directory)
I have re-installed and installed it in 3 environments with same results, so I am thinking I am missing a step somewhere. Any advice on how to fix this issue?
Thanks
JacoHi Jaco,
This issue is fixed in AIA 11.1.1.6.0 version. Either upgrade your AIA version to 11.1.1.6.0 or apply RUP2(Patch#13247584) on AIA 11.1.1.5.0.
Regards
Siva Shankar
Tech Democracy -
Here is an install log:
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 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 build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
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 a BSD-compatible install... /bin/install -c
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... yes
checking whether gcc and cc understand -c and -o together... yes
checking for pkg-config... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.19... yes
checking for fopencookie... yes
checking for funopen... 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 for iconv... yes
checking for working iconv... yes
checking for iconv declaration...
extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking alsa/asoundlib.h usability... yes
checking alsa/asoundlib.h presence... yes
checking for alsa/asoundlib.h... yes
checking for snd_pcm_open in -lasound... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking for unistd.h... (cached) yes
checking sys/utsname.h usability... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
checking for sys/stat.h... (cached) yes
checking linux/soundcard.h usability... yes
checking linux/soundcard.h presence... yes
checking for linux/soundcard.h... yes
checking for alsa/asoundlib.h... (cached) yes
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking mcheck.h usability... yes
checking mcheck.h presence... yes
checking for mcheck.h... yes
checking sys/statfs.h usability... yes
checking sys/statfs.h presence... yes
checking for sys/statfs.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking assert.h usability... yes
checking assert.h presence... yes
checking for assert.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking for sys/mount.h... yes
checking sys/inotify.h usability... yes
checking sys/inotify.h presence... yes
checking for sys/inotify.h... yes
checking for calloc... yes
checking for malloc... yes
checking for free... yes
checking for popen... yes
checking for sysinfo... yes
checking for getloadavg... yes
checking for memrchr... yes
checking for strndup... yes
checking for gethostbyname_r... yes
checking for library containing clock_gettime... -lrt
checking for struct statfs.f_fstypename... no
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for db2x_xsltproc... no
checking for db2x_manxml... no
checking for xsltproc... no
checking if /usr/bin/ld accepts -O1... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating data/Makefile
config.status: creating doc/Makefile
config.status: creating src/Makefile
config.status: creating src/build.h
config.status: creating lua/Makefile
config.status: creating src/config.h
config.status: src/config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
conky 1.7.2 configured successfully:
Installing into: /usr
System config dir: /etc
C compiler flags: -Wall -W
Libraries: -lm -lasound -lrt
Linker flags: -Wl,-O1
* X11:
X11 support: no
XDamage support: no
XDBE support: no
Xft support: no
* Music detection:
Audacious: no
BMPx: no
MPD: yes
MOC: yes
XMMS2: no
* General:
OpenMP:
math: yes
hddtemp: no
portmon: no
RSS: no
Curl: no
Weather
METAR: no
XOAP: no
wireless: no
IBM: no
nvidia: no
eve-online: no
config-output: yes
Imlib2: no
ALSA mixer: yes
apcupsd: yes
I/O stats: yes
* Lua (no) bindings:
Cairo: no
Imlib2: no
Making all in src
/bin/sh: line 17: cd: src: No such file or directory
make: *** [all-recursive] Error 1
A couple of months ago I stumbled upon this problem, but handfixed all entrances in Makefiles recursively, changing explicitly '/bin/sh' on '/bin/bash' (although, /bin/sh is a link on /bin/bash). Now I had do deploy archlinux on another machine and here's the problem, again.
Last edited by cra (2009-10-27 12:43:53)Ok, I rm'ed the src and pkg subdirectories for package cairo-lcd, here's what I have:
(Actually, no specific options for makepkg)
[cra@cratop 07:47:47 ~/downloads/cairo-lcd]
$ ls
PKGBUILD cairo-1.8.8.tar.gz lcd-filter.patch
[cra@cratop 07:48:46 ~/downloads/cairo-lcd]
$ makepkg
==> Making package: cairo-lcd 1.8.8-1 i686 (Wed Oct 21 07:48:50 MSD 2009)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
-> Found cairo-1.8.8.tar.gz in build dir
-> Found lcd-filter.patch in build dir
==> Validating source files with md5sums...
cairo-1.8.8.tar.gz ... Passed
lcd-filter.patch ... Passed
==> Extracting Sources...
-> bsdtar -x -f "cairo-1.8.8.tar.gz"
==> Entering fakeroot environment...
==> Starting build()...
patching file doc/public/cairo-sections.txt
Hunk #1 succeeded at 326 (offset 7 lines).
patching file src/cairo-font-options.c
patching file src/cairo-ft-font.c
Hunk #2 succeeded at 742 (offset 3 lines).
Hunk #3 succeeded at 1034 (offset 3 lines).
Hunk #4 succeeded at 1091 (offset 3 lines).
Hunk #5 succeeded at 1103 (offset 3 lines).
Hunk #6 succeeded at 1124 (offset 3 lines).
Hunk #7 succeeded at 1162 (offset 3 lines).
Hunk #8 succeeded at 1225 (offset 3 lines).
Hunk #9 succeeded at 1252 (offset 3 lines).
Hunk #10 succeeded at 1500 (offset 3 lines).
Hunk #11 succeeded at 1542 (offset 3 lines).
Hunk #12 succeeded at 1578 (offset 3 lines).
Hunk #13 succeeded at 1697 (offset 3 lines).
Hunk #14 succeeded at 1726 (offset 3 lines).
Hunk #15 succeeded at 2695 (offset 25 lines).
patching file src/cairo-types-private.h
Hunk #1 succeeded at 116 (offset 8 lines).
patching file src/cairo-xlib-screen.c
Hunk #1 succeeded at 143 with fuzz 1 (offset 11 lines).
Hunk #2 succeeded at 159 (offset 11 lines).
Hunk #3 succeeded at 257 (offset 11 lines).
Hunk #4 succeeded at 287 (offset 11 lines).
patching file src/cairo.h
Hunk #1 succeeded at 1046 (offset 78 lines).
Hunk #2 succeeded at 1171 (offset 78 lines).
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 for bash... /bin/bash
checking if dolt supports this host... yes, replacing libtool
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking whether to build gtk-doc documentation... no
checking for gtkdoc-check... no
checking for find... /usr/bin/find
checking for xargs... /usr/bin/xargs
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 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 whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking dependency style of g++... (cached) gcc3
checking how to run the C++ preprocessor... g++ -E
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 -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) 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
checking whether gcc and cc understand -c and -o together... yes
checking for inline... inline
checking for pkg-config... (cached) /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking whether byte ordering is bigendian... no
checking whether float word ordering is bigendian... no
checking for native atomic primitives... Intel
checking whether atomic ops require a memory barrier... no
checking for native Win32... no
checking for Sun Solaris (non-POSIX ctime_r)... no
checking for cos in -lm... yes
checking for sched_yield in -lrt... yes
checking for stdint.h... (cached) yes
checking for inttypes.h... (cached) yes
checking sys/int_types.h usability... no
checking sys/int_types.h presence... no
checking for sys/int_types.h... no
checking for uint64_t... yes
checking for uint128_t... no
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for unistd.h... (cached) yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking for sys/stat.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/poll.h usability... yes
checking sys/poll.h presence... yes
checking for sys/poll.h... yes
checking sys/un.h usability... yes
checking sys/un.h presence... yes
checking for sys/un.h... yes
checking sched.h usability... yes
checking sched.h presence... yes
checking for sched.h... yes
checking for sched_getaffinity... yes
checking fenv.h usability... yes
checking fenv.h presence... yes
checking for fenv.h... yes
checking for feenableexcept... yes
checking for fedisableexcept... yes
checking libgen.h usability... yes
checking libgen.h presence... yes
checking for libgen.h... yes
checking byteswap.h usability... yes
checking byteswap.h presence... yes
checking for byteswap.h... yes
checking for signal.h... (cached) yes
checking setjmp.h usability... yes
checking setjmp.h presence... yes
checking for setjmp.h... yes
checking for vasnprintf... no
checking for link... yes
checking for ctime_r... yes
checking for drand48... yes
checking for flockfile... yes
checking windows.h usability... no
checking windows.h presence... no
checking for windows.h... no
checking for supported warning flags...
checking whether gcc supports -Wall... yes
checking whether gcc supports -Wextra... yes
checking whether gcc supports -Wsign-compare... yes
checking whether gcc supports -Werror-implicit-function-declaration... yes
checking whether gcc supports -Wpointer-arith... yes
checking whether gcc supports -Wwrite-strings... yes
checking whether gcc supports -Wstrict-prototypes... yes
checking whether gcc supports -Wmissing-prototypes... yes
checking whether gcc supports -Wmissing-declarations... yes
checking whether gcc supports -Wnested-externs... yes
checking whether gcc supports -Wpacked... yes
checking whether gcc supports -Wswitch-enum... yes
checking whether gcc supports -Wmissing-format-attribute... yes
checking whether gcc supports -Wstrict-aliasing=2... yes
checking whether gcc supports -Winit-self... yes
checking whether gcc supports -Wunsafe-loop-optimizations... yes
checking whether gcc supports -Wdeclaration-after-statement... yes
checking whether gcc supports -Wold-style-definition... yes
checking whether gcc supports -Wno-missing-field-initializers... yes
checking whether gcc supports -Wno-unused-parameter... yes
checking whether gcc supports -Wno-attributes... yes
checking whether gcc supports -Wno-long-long... yes
checking whether gcc supports -Winline... yes
checking whether gcc supports -fno-strict-aliasing... yes
checking whether gcc supports -fno-common... yes
checking whether gcc supports -Wp,-D_FORTIFY_SOURCE=2... yes
checking which warning flags were supported... -Wall -Wextra -Wsign-compare -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-self -Wunsafe-loop-optimizations -Wdeclaration-after-statement -Wold-style-definition -Wno-missing-field-initializers -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -fno-strict-aliasing -fno-common -Wp,-D_FORTIFY_SOURCE=2
checking how to enable unused result warnings... __attribute__((__warn_unused_result__))
checking how to allow undefined symbols in shared libraries used by test suite... checking whether gcc supports -Wl,--allow-shlib-undefined... yes
-Wl,--allow-shlib-undefined
checking for VALGRIND... no
no
checking for compress in -lz... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for X... libraries , headers
checking for cairo's Xlib surface backend feature...
checking for xlib... yes
checking whether cairo's Xlib surface backend feature could be enabled... yes
checking for cairo's Xlib Xrender surface backend feature...
checking for xlib_xrender... yes
checking whether cairo's Xlib Xrender surface backend feature could be enabled... yes
checking for cairo's XCB surface backend feature...
checking for xcb... yes
checking whether cairo's XCB surface backend feature could be enabled... yes
checking for cairo's Quartz surface backend feature...
checking ApplicationServices/ApplicationServices.h usability... no
checking ApplicationServices/ApplicationServices.h presence... no
checking for ApplicationServices/ApplicationServices.h... no
checking CoreGraphics/CoreGraphics.h usability... no
checking CoreGraphics/CoreGraphics.h presence... no
checking for CoreGraphics/CoreGraphics.h... no
checking whether cairo's Quartz surface backend feature could be enabled... no (requires CoreGraphics framework)
checking for cairo's Quartz font backend feature...
checking whether cairo's Quartz font backend feature could be enabled... no (requires CoreGraphics framework)
checking for cairo's Microsoft Windows surface backend feature...
checking whether cairo's Microsoft Windows surface backend feature could be enabled... no (requires a Win32 platform)
checking for cairo's Microsoft Windows font backend feature...
checking whether cairo's Microsoft Windows font backend feature could be enabled... no (requires a Win32 platform)
checking for cairo's PNG functions feature...
checking for png... yes
checking whether cairo's PNG functions feature could be enabled... yes
checking for cairo's FreeType font backend feature...
checking for FONTCONFIG... yes
checking for FcFini... yes
checking for FREETYPE... yes
checking whether cairo's FreeType font backend feature could be enabled... yes
checking for FT_Bitmap_Size.y_ppem... yes
checking for FT_GlyphSlot_Embolden... yes
checking for FT_Load_Sfnt_Table... yes
checking for FT_Library_SetLcdFilter... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for cairo's PostScript surface backend feature...
checking whether cairo's PostScript surface backend feature could be enabled... yes
checking for gs... gs
checking for LIBSPECTRE... yes
checking for cairo's PDF surface backend feature...
checking whether cairo's PDF surface backend feature could be enabled... yes
checking for POPPLER... yes
checking for poppler_page_render... yes
checking for cairo's SVG surface backend feature...
checking whether cairo's SVG surface backend feature could be enabled... yes
checking for LIBRSVG... yes
checking for rsvg_pixbuf_from_file... yes
checking for cairo's image surface backend feature...
checking for pixman... yes
checking whether cairo's image surface backend feature could be enabled... yes
checking for cairo's user font backend feature...
checking whether cairo's user font backend feature could be enabled... yes
checking for gtk... yes
configure: creating ./config.status
config.status: creating src/cairo.pc
config.status: creating cairo-uninstalled.pc
config.status: creating src/cairo-xlib.pc
config.status: creating cairo-xlib-uninstalled.pc
config.status: creating src/cairo-xlib-xrender.pc
config.status: creating cairo-xlib-xrender-uninstalled.pc
config.status: creating src/cairo-xcb.pc
config.status: creating cairo-xcb-uninstalled.pc
config.status: creating src/cairo-png.pc
config.status: creating cairo-png-uninstalled.pc
config.status: creating src/cairo-ft.pc
config.status: creating cairo-ft-uninstalled.pc
config.status: creating src/cairo-ps.pc
config.status: creating cairo-ps-uninstalled.pc
config.status: creating src/cairo-pdf.pc
config.status: creating cairo-pdf-uninstalled.pc
config.status: creating src/cairo-svg.pc
config.status: creating cairo-svg-uninstalled.pc
config.status: creating Makefile
config.status: creating boilerplate/Makefile
config.status: creating src/Makefile
config.status: creating test/Makefile
config.status: creating test/pdiff/Makefile
config.status: creating perf/Makefile
config.status: creating util/Makefile
config.status: creating doc/Makefile
config.status: creating doc/public/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing ./build/Makefile.win32.features commands
config.status: creating ./build/Makefile.win32.features
config.status: ./build/Makefile.win32.features is unchanged
config.status: executing ./src/Makefile.am.features commands
config.status: creating ./src/Makefile.am.features
config.status: ./src/Makefile.am.features is unchanged
config.status: executing ./src/Makefile.win32.features commands
config.status: creating ./src/Makefile.win32.features
config.status: ./src/Makefile.win32.features is unchanged
config.status: executing ./boilerplate/Makefile.am.features commands
config.status: creating ./boilerplate/Makefile.am.features
config.status: ./boilerplate/Makefile.am.features is unchanged
config.status: executing ./boilerplate/Makefile.win32.features commands
config.status: creating ./boilerplate/Makefile.win32.features
config.status: ./boilerplate/Makefile.win32.features is unchanged
config.status: executing src/cairo-features.h commands
config.status: creating src/cairo-features.h
config.status: executing ./src/cairo-supported-features.h commands
config.status: creating ./src/cairo-supported-features.h
config.status: ./src/cairo-supported-features.h is unchanged
config.status: executing ./build/Makefile.win32.features-h commands
config.status: creating ./build/Makefile.win32.features-h
config.status: ./build/Makefile.win32.features-h is unchanged
cairo (version 1.8.8 [release]) will be compiled with:
The following surface backends:
Image: yes (always builtin)
Xlib: yes
Xlib Xrender: yes
Quartz: no (requires CoreGraphics framework)
Quartz-image: no (disabled, use --enable-quartz-image to enable)
XCB: yes
Win32: no (requires a Win32 platform)
OS2: no (disabled, use --enable-os2 to enable)
PostScript: yes
PDF: yes
SVG: yes
glitz: no (disabled, use --enable-glitz to enable)
BeOS: no (disabled, use --enable-beos to enable)
DirectFB: no (disabled, use --enable-directfb to enable)
The following font backends:
User: yes (always builtin)
FreeType: yes
Win32: no (requires a Win32 platform)
Quartz: no (requires CoreGraphics framework)
The following functions:
PNG functions: yes
And the following internal features:
gcov support: no
test surfaces: no (disabled, use --enable-test-surfaces to enable)
ps testing: yes
pdf testing: yes
svg testing: yes
--- The XCB surface backend feature is still under active development and is
--- included in this release only as a preview. It does NOT fully work yet
--- and incompatible changes may yet be made to XCB surface backend specific
--- API.
make all-recursive
make[1]: Entering directory `/home/cra/downloads/cairo-lcd/src/cairo-1.8.8'
Making all in src
/bin/sh: line 17: cd: src: No such file or directory
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/cra/downloads/cairo-lcd/src/cairo-1.8.8'
make: *** [all] Error 2
==> ERROR: Build Failed.
Aborting...
[cra@cratop 07:49:13 ~/downloads/cairo-lcd]
$ -
Abs error: core.abs.tar.gz no such file or directory
I am trying to learn how to compile packages on Arch but I am getting a error when I try to run abs:
[root@anyhost ~] # abs
==> Downloading tarballs...
==> core...
tar (child): core.abs.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable. Exiting now.
tar: Child returned status 2
tar: Error is not recoverable exiting now
Any ideas?I think the package format was changed from tar.gz to .xz a while back.Try to re-install abs and also use an updated mirror.
-
Pooladm: cannot enable pools: No such file or directory
I'm having a problem enabling pools in Solaris 10. I used a core installation and manually installed the SUNWpool, SUNWpoolr, SUNWzoner, and SUNWzoneu packages.
When I try to execute "pooladm -e" to enable pools I get the following error:
pooladm: cannot enable pools: No such file or directory
Also, when I enable the svc:/system/pools:default service it errors into maintenance state with the same error in the log file.
I believe the problem is related to the non-existance of /dev/pool, but I'm not sure why it is not there.
Here is the output from truss:
bash-3.00# truss -f pooladm -e
2753: execve("/usr/sbin/pooladm", 0xFFBFFC8C, 0xFFBFFC98) argc = 2
2753: resolvepath("/usr/lib/ld.so.1", "/lib/ld.so.1", 1023) = 12
2753: resolvepath("/usr/sbin/pooladm", "/usr/sbin/pooladm", 1023) = 17
2753: stat("/usr/sbin/pooladm", 0xFFBFFA68) = 0
2753: open("/var/ld/ld.config", O_RDONLY) Err#2 ENOENT
2753: stat("/lib/libpool.so.1", 0xFFBFF520) Err#2 ENOENT
2753: stat("/usr/lib/libpool.so.1", 0xFFBFF520) = 0
2753: resolvepath("/usr/lib/libpool.so.1", "/usr/lib/libpool.so.1", 1023) = 21
2753: open("/usr/lib/libpool.so.1", O_RDONLY) = 3
2753: mmap(0x00010000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_ALIGN, 3, 0) = 0xFF3A0000
2753: mmap(0x00010000, 172032, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFF370000
2753: mmap(0xFF370000, 93041, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFF370000
2753: mmap(0xFF398000, 7097, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 98304) = 0xFF398000
2753: munmap(0xFF388000, 65536) = 0
2753: memcntl(0xFF370000, 17100, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
2753: close(3) = 0
2753: stat("/lib/libc.so.1", 0xFFBFF520) = 0
2753: resolvepath("/lib/libc.so.1", "/lib/libc.so.1", 1023) = 14
2753: open("/lib/libc.so.1", O_RDONLY) = 3
2753: mmap(0xFF3A0000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFF3A0000
2753: mmap(0x00010000, 1015808, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFF200000
2753: mmap(0xFF200000, 909301, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFF200000
2753: mmap(0xFF2EE000, 32017, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 909312) = 0xFF2EE000
2753: mmap(0xFF2F6000, 5984, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANON, -1, 0) = 0xFF2F6000
2753: munmap(0xFF2DE000, 65536) = 0
2753: memcntl(0xFF200000, 144128, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
2753: close(3) = 0
2753: stat("/lib/libxml2.so.2", 0xFFBFF520) Err#2 ENOENT
2753: stat("/usr/lib/libxml2.so.2", 0xFFBFF520) = 0
2753: resolvepath("/usr/lib/libxml2.so.2", "/usr/lib/libxml2.so.2", 1023) = 21
2753: open("/usr/lib/libxml2.so.2", O_RDONLY) = 3
2753: mmap(0xFF3A0000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFF3A0000
2753: mmap(0x00010000, 1540096, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFF080000
2753: mmap(0xFF080000, 1397070, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFF080000
2753: mmap(0xFF1E4000, 72885, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 1392640) = 0xFF1E4000
2753: mmap(0xFF1F6000, 2168, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANON, -1, 0) = 0xFF1F6000
2753: munmap(0xFF1D6000, 57344) = 0
2753: mmap(0x00000000, 8192, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFF360000
2753: memcntl(0xFF080000, 202876, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
2753: close(3) = 0
2753: stat("/lib/libscf.so.1", 0xFFBFF520) = 0
2753: resolvepath("/lib/libscf.so.1", "/lib/libscf.so.1", 1023) = 16
2753: open("/lib/libscf.so.1", O_RDONLY) = 3
2753: mmap(0xFF3A0000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFF3A0000
2753: mmap(0x00010000, 172032, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFF330000
2753: mmap(0xFF330000, 97095, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFF330000
2753: mmap(0xFF358000, 4934, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 98304) = 0xFF358000
2753: munmap(0xFF348000, 65536) = 0
2753: memcntl(0xFF330000, 20432, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
2753: close(3) = 0
2753: stat("/lib/libnvpair.so.1", 0xFFBFF520) = 0
2753: resolvepath("/lib/libnvpair.so.1", "/lib/libnvpair.so.1", 1023) = 19
2753: open("/lib/libnvpair.so.1", O_RDONLY) = 3
2753: mmap(0xFF3A0000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFF3A0000
2753: mmap(0x00010000, 98304, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFF310000
2753: mmap(0xFF310000, 24206, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFF310000
2753: mmap(0xFF326000, 1192, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 24576) = 0xFF326000
2753: munmap(0xFF316000, 65536) = 0
2753: memcntl(0xFF310000, 7604, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
2753: close(3) = 0
2753: stat("/lib/libexacct.so.1", 0xFFBFF520) Err#2 ENOENT
2753: stat("/usr/lib/libexacct.so.1", 0xFFBFF520) = 0
2753: resolvepath("/usr/lib/libexacct.so.1", "/usr/lib/libexacct.so.1", 1023) = 23
2753: open("/usr/lib/libexacct.so.1", O_RDONLY) = 3
2753: mmap(0xFF3A0000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFF3A0000
2753: mmap(0x00010000, 90112, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFF060000
2753: mmap(0xFF060000, 15042, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFF060000
2753: mmap(0xFF074000, 888, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 16384) = 0xFF074000
2753: munmap(0xFF064000, 65536) = 0
2753: memcntl(0xFF060000, 3568, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
2753: close(3) = 0
2753: stat("/lib/libpthread.so.1", 0xFFBFF520) = 0
2753: resolvepath("/lib/libpthread.so.1", "/lib/libpthread.so.1", 1023) = 20
2753: open("/lib/libpthread.so.1", O_RDONLY) = 3
2753: mmap(0xFF3A0000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFF3A0000
2753: mmap(0x00002000, 16384, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFF3EC000
2753: mmap(0xFF3EC000, 12032, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFF3EC000
2753: close(3) = 0
2753: stat("/lib/libz.so.1", 0xFFBFF520) Err#2 ENOENT
2753: stat("/usr/lib/libz.so.1", 0xFFBFF520) = 0
2753: resolvepath("/usr/lib/libz.so.1", "/usr/lib/libz.so.1", 1023) = 18
2753: open("/usr/lib/libz.so.1", O_RDONLY) = 3
2753: mmap(0xFF3A0000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFF3A0000
2753: mmap(0x00010000, 139264, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFF030000
2753: mmap(0xFF030000, 69442, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFF030000
2753: mmap(0xFF050000, 6012, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 65536) = 0xFF050000
2753: munmap(0xFF042000, 57344) = 0
2753: memcntl(0xFF030000, 5032, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
2753: close(3) = 0
2753: stat("/lib/libm.so.2", 0xFFBFF520) = 0
2753: resolvepath("/lib/libm.so.2", "/lib/libm.so.2", 1023) = 14
2753: open("/lib/libm.so.2", O_RDONLY) = 3
2753: mmap(0xFF3A0000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFF3A0000
2753: mmap(0x00010000, 786432, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEF00000
2753: mmap(0xFEF00000, 693647, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEF00000
2753: mmap(0xFEFB8000, 28592, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 688128) = 0xFEFB8000
2753: munmap(0xFEFAA000, 57344) = 0
2753: memcntl(0xFEF00000, 33076, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
2753: close(3) = 0
2753: stat("/lib/libsocket.so.1", 0xFFBFF520) = 0
2753: resolvepath("/lib/libsocket.so.1", "/lib/libsocket.so.1", 1023) = 19
2753: open("/lib/libsocket.so.1", O_RDONLY) = 3
2753: mmap(0xFF3A0000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFF3A0000
2753: mmap(0x00010000, 122880, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFF000000
2753: mmap(0xFF000000, 44594, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFF000000
2753: mmap(0xFF01C000, 4277, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 49152) = 0xFF01C000
2753: munmap(0xFF00C000, 65536) = 0
2753: memcntl(0xFF000000, 14320, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
2753: close(3) = 0
2753: stat("/lib/libnsl.so.1", 0xFFBFF520) = 0
2753: resolvepath("/lib/libnsl.so.1", "/lib/libnsl.so.1", 1023) = 16
2753: open("/lib/libnsl.so.1", O_RDONLY) = 3
2753: mmap(0xFF3A0000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFF3A0000
2753: mmap(0x00010000, 729088, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEE00000
2753: mmap(0xFEE00000, 594942, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEE00000
2753: mmap(0xFEEA2000, 33745, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 598016) = 0xFEEA2000
2753: mmap(0xFEEAC000, 23232, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANON, -1, 0) = 0xFEEAC000
2753: munmap(0xFEE92000, 65536) = 0
2753: mmap(0x00000000, 8192, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFF300000
2753: memcntl(0xFEE00000, 89508, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
2753: close(3) = 0
2753: stat("/lib/libdoor.so.1", 0xFFBFF520) = 0
2753: resolvepath("/lib/libdoor.so.1", "/lib/libdoor.so.1", 1023) = 17
2753: open("/lib/libdoor.so.1", O_RDONLY) = 3
2753: mmap(0xFF3A0000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFF3A0000
2753: mmap(0x00010000, 81920, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEFE0000
2753: mmap(0xFEFE0000, 3315, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEFE0000
2753: mmap(0xFEFF2000, 600, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 8192) = 0xFEFF2000
2753: munmap(0xFEFE2000, 65536) = 0
2753: memcntl(0xFEFE0000, 2240, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
2753: close(3) = 0
2753: stat("/lib/libuutil.so.1", 0xFFBFF520) = 0
2753: resolvepath("/lib/libuutil.so.1", "/lib/libuutil.so.1", 1023) = 18
2753: open("/lib/libuutil.so.1", O_RDONLY) = 3
2753: mmap(0xFF3A0000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFF3A0000
2753: mmap(0x00010000, 106496, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEEE0000
2753: mmap(0xFEEE0000, 26032, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEEE0000
2753: mmap(0xFEEF8000, 1882, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 32768) = 0xFEEF8000
2753: munmap(0xFEEE8000, 65536) = 0
2753: memcntl(0xFEEE0000, 6652, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
2753: close(3) = 0
2753: stat("/lib/libgen.so.1", 0xFFBFF520) = 0
2753: resolvepath("/lib/libgen.so.1", "/lib/libgen.so.1", 1023) = 16
2753: open("/lib/libgen.so.1", O_RDONLY) = 3
2753: mmap(0xFF3A0000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFF3A0000
2753: mmap(0x00010000, 98304, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEEC0000
2753: mmap(0xFEEC0000, 22089, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEEC0000
2753: mmap(0xFEED6000, 2303, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 24576) = 0xFEED6000
2753: munmap(0xFEEC6000, 65536) = 0
2753: memcntl(0xFEEC0000, 5656, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
2753: close(3) = 0
2753: munmap(0xFF3A0000, 8192) = 0
2753: mmap(0x00010000, 24576, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEFD0000
2753: getcontext(0xFFBFF758)
2753: getrlimit(RLIMIT_STACK, 0xFFBFF738) = 0
2753: getpid() = 2753 [2752]
2753: setustack(0xFEFD2088)
2753: sigfillset(0xFF2F64D8) = 0
2753: stat("/platform/SUNW,Sun-Fire-T200/lib/libc_psr.so.1", 0xFFBFF1B0) = 0
2753: resolvepath("/platform/SUNW,Sun-Fire-T200/lib/libc_psr.so.1", "/platform/sun4v/lib/libc_psr.so.1", 1023) = 33
2753: open("/platform/SUNW,Sun-Fire-T200/lib/libc_psr.so.1", O_RDONLY) = 3
2753: mmap(0x00010000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_ALIGN, 3, 0) = 0xFEDF0000
2753: close(3) = 0
2753: brk(0x00022448) = 0
2753: brk(0x00024448) = 0
2753: getprivimplinfo(0xFFBFF2E0, 2076) = 0
2753: sysconfig(_CONFIG_NGROUPS) = 16
2753: zone_lookup("") = 0
2753: zone_getattr(0, ZONE_ATTR_PRIVSET, 0xFEFD02C8, 12) = 12
2753: getppriv(PRIV_EFFECTIVE, {ffffffffffffffffffffffff}) = 0
2753: open64("/dev/pool", O_RDONLY) Err#2 ENOENT
2753: fstat64(2, 0xFFBFEC88) = 0
pooladm2753: write(2, " p o o l a d m", 7) = 7
: 2753: write(2, " : ", 2) = 2
cannot enable pools2753: write(2, " c a n n o t e n a b l".., 19) = 19
: 2753: write(2, " : ", 2) = 2
No such file or directory2753: write(2, " N o s u c h f i l e".., 25) = 25
2753: write(2, "\n", 1) = 1
2753: _exit(1)All it took was running devfsadm and the errors were gone.
-
"No Such File or Directory" in Oracle Java Stored Procedure
The following code:
import java.io.*;
public class CWoodTest {
public static String go(){
String result = null;
File file = null;
try{
file = new File( "/data/oracle/cwoodACH.test" );
FileWriter fileWriter = new FileWriter( file );
fileWriter.write("Working");
fileWriter.close();
} catch( IOException e ){
if( file != null)
result = e.getMessage() + " " + file.toString();
else
result = e.getMessage() + " file null";
if( result != null ) return result;
else return "Working";
is published to PL/SQL as
CREATE OR REPLACE PACKAGE CWoodTest AS
FUNCTION go
RETURN VARCHAR2
AS LANGUAGE JAVA
NAME 'CWoodTest.go() return java.lang.String';
END CWoodTest;
show errors
And the result is "No Such File or Directory", even though the user oracle owns /data/oracle and the user I'm logged in as has JAVAUSERPRIV and JAVASYSPRIV . I am able to use UTL_FILE from PL/SQL to write to /data/oracle, so I know that init.ora has the correct UTL_FILE_DIR settings (if this matters). Similar Java code works fine on my desktop. Ideas?
Thanks in advanceDid you grant execute rights on your FUNCTION go?
No better idea atm. -
Install error during make of Pro*/C++ - file not recognized:
Say, anyone seen this error during install? The file or directory "proc" is indeed missing... is this a known shortcoming of this release? Can these make errors be ignored?
Thanks in advance
Dennis
Starting install Link Phase of component Oracle Internet Directory Client Common Files
Starting install Link Phase of component Required Support Files
Starting install Link Phase of component Oracle Code Editor
Starting install Link Phase of component Oracle Database User Interface
Starting install Link Phase of component Oracle Ultra Search Server Rdbms
Starting install Link Phase of component Enterprise Manager Minimal Integration
Starting install Link Phase of component Object Type Translator
Starting install Link Phase of component Pro*C/C++
Calling Action unixActions10.1.0.3.0 make
installMakePath = /usr/bin/make
installMakeFileName = /app/oracle/OraHome_1/precomp/lib/ins_precomp.mk
installTarget = relink
installArguments = ORACLE_HOME=/app/oracle/OraHome_1,EXENAME=proc,
undoMakeFileName = null
undoTarget = null
undoArguments = null
logFile = /app/oracle/OraHome_1/install/make.log
progMsg = Linking proc
The output of this make operation is also available at: '/app/oracle/OraHome_1/install/make.log'
Start output from spawned process:
Linking /app/oracle/OraHome_1/precomp/lib/proc
/app/oracle/OraHome_1/lib/s0main.o: file not recognized: File format not recognized
collect2: ld returned 1 exit status
/bin/chmod: failed to get attributes of `/app/oracle/OraHome_1/precomp/lib/proc': No such file or directory
make: *** [app/oracle/OraHome_1/precomp/lib/proc] Error 1
End output from spawned process.
Exception thrown from action: make
Exception Name: MakefileException
Exception String: Error in invoking target 'relink' of makefile '/app/oracle/OraHome_1/precomp/lib/ins_precomp.mk'. See '/app/oracle/oraInventory/logs/installActions2005-07-04_09-24-38AM.log' for details.
Exception Severity: 1
*** Cancel Dialog: ***
User Selected: Stop installation of all products.
Exception handling set to prompt user with options to Retry Ignore
User Choice: User selected to stop installation of all components.
Error in invoking target 'relink' of makefile '/app/oracle/OraHome_1/precomp/lib/ins_precomp.mk'. See '/app/oracle/oraInventory/logs/installActions2005-07-04_09-24-38AM.log' for details.
Unable to read the list of homes from the inventory.If your library is in the standard layout of an iTunes folder containing an iTunes Media folder (and you've already copied over the media) then you can simply copy the iTunes library files and album artwork folder across to the new machine recreating the same layout. If the media folder has been split out from the main iTunes folder then see make a split library portable for a way to get the library into a portable form, after which you can copy over the library files.
tt2 -
Error when compiling: "asm/errno.h: No such file or directory"
Ok, so I've got this error while compiling some app written in C:
In file included from /usr/include/bits/errno.h:25,
from /usr/include/errno.h:36,
from /usr/include/python2.6/Python.h:40,
from config.c:18:
/usr/include/linux/errno.h:4:23: error: asm/errno.h: No such file or directory
make: *** [config.o] Error 1
I've tried to google it, people said I needed to make some symlinks, but it didn't work. I've also tried update (pacman -Syu), but that didn't help as well. Do you have any solutions?
ThanksThanks,
I was searching for a soltion like GCC Path and something with include or something but this worked instead..:) -
There is error 'No such file or directory' during loading custom authentica
Hi,
I am working on OBIEE authentication using Hyperion shared services. I did the necessary changes in config file, like modifying config.xml to enable HSSauthenticator and enabling external authentication to instanceconfig.xml. However BI Server is unable to load the driver file for the Hyperion custom authenticator. Here is the error message.
There is error 'No such file or directory' during loading custom authentication module '/opt/local/usr/home/Oracle/OracleBI/web/bin64/libsawobisauthenticatorproxy643r.so'.
2011-06-26 21:04:05
[nQSError: 13011] Query for Initialization Block 'Hyperion EPM' has failed.
I have set the env variable LD_LIBRARY_PATH to this path but still I am getting the same error msg. I also have full previleges on this file. Would be really great if anyone can tell me why I am unable to load this driver file on to server. Thanks in advanceI think I figured out. Instead of giving path thru bin64 , I gave it thru bin folder, which is a 32bit file. I think they installled a 32bit OBIEE.
-
Warning: Compiler errors during type creation
Hello all,
when I run the following little script in my Oracle 8.1.7 SQL plus spreadsheet I get the following error message:
"Warning: Compiler errors during type creation". (This is my offhand translation from German, since I have a German version)
There is no further hint as to what the nature of the error is or how I can fix it, but for sure I can't use the type I tried to define.
Can anybody help?
Here is the code:
set serveroutput on ;
create or replace type DataPoint as object(
name varchar2(20)
create or replace type DataPointList as table of DataPoint ;
create or replace type ElementType as object (
TypeName varchar(20),
Datapoints DataPointList
create or replace type ElementList as table of ElementType ;
Regards,
Norbert Ploett
nullcreate or replace type DataPoint as object(
name varchar2(20)
create table DataPointList of DataPoint ;
create or replace type ElementType as object (
TypeName varchar(20),
Datapoints DataPointList
create table ElementList of ElementType ;
This should work in the given case
Ravi
Regards,
Norbert Ploett
Regards,
Norbert Ploett
<BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by Norbert.Ploett:
Hello all,
when I run the following little script in my Oracle 8.1.7 SQL plus spreadsheet I get the following error message:
"Warning: Compiler errors during type creation". (This is my offhand translation from German, since I have a German version)
There is no further hint as to what the nature of the error is or how I can fix it, but for sure I can't use the type I tried to define.
Can anybody help?
Here is the code:<HR></BLOCKQUOTE>
null -
Hi Everyone.
I am new to FPGA field.
I am trying to make a system with UART and MicroBlaze for communication with mini USB with terminal.
From the XAPP1180 "Reference system: Kintex-7 MicroBlaze System Simulation Using IP Integrator"
it was successful to test and understand the connection between mini-USB with terminal by displaying "hello world"
So, I wanted to do my own system, with uart and microblaze only without DDR3 (unlike XAPP1180 reference system).
new block design, chose uart/micro blaze --> auto connection
pin mapping .xdc
bit generation
export (include bit stream)
make new hardware platform with .hdf
program fpga (select .bit/.bmm )
and the error message is shown as
couldn't open "D:/MICRO_BLAZE/uart/uart_only/uart_only.sdk/design_1_wrapper_hw_platform_0/download.bit": no such file or directory
INTERNAL_ERROR:Data2MEM:45 - Memory allocation leak of 64 bytes at 0x0048B088 for a 'fileSpecType' record.
Total memory in use at allocation was 8688 bytes.
Source file "ParseUtils.c", line number 13179.
Memory contents:
0048B088: 48 F9 48 00 00 00 00 00 18 D7 48 00 00 00 00 00 H.H.......H.....
0048B098: A8 F7 48 00 00 00 00 00 98 B5 48 00 00 00 00 00 ..H.......H.....
0048B0A8: E8 D9 48 00 00 00 00 00 2F 00 00 00 0F 00 00 00 ..H...../.......
0048B0B8: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
INTERNAL_ERROR:Data2MEM:45 - Memory allocation leak of 26 bytes at 0x0048D708 for a StrNew.
Total memory in use at allocation was 8679 bytes.
Source file "StringUtils.c", line number 423.
Memory contents:
0048D708: 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0048D718: 44 3A 00 00 00 00 00 00 00 00 D:........
INTERNAL_ERROR:Data2MEM:45 - Memory allocation leak of 83 bytes at 0x0048F798 for a StrNew.
Total memory in use at allocation was 8705 bytes.
Source file "StringUtils.c", line number 423.
Memory contents:
0048F798: 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0048F7A8: 2F 4D 49 43 52 4F 5F 42 4C 41 5A 45 2F 75 61 72 /MICRO_BLAZE/uar
0048F7B8: 74 2F 75 61 72 74 5F 6F 6E 6C 79 2F 75 61 72 74 t/uart_only/uart
0048F7C8: 5F 6F 6E 6C 79 2E 73 64 6B 2F 68 65 6C 6C 6F 5F _only.sdk/hello_
INTERNAL_ERROR:Data2MEM:45 - Memory allocation leak of 34 bytes at 0x0048B588 for a StrNew.
Total memory in use at allocation was 8788 bytes.
Source file "StringUtils.c", line number 423.
Memory contents:
0048B588: 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0048B598: 68 65 6C 6C 6F 5F 75 61 72 74 00 00 00 00 00 00 hello_uart......
0048B5A8: 00 00 ..
INTERNAL_ERROR:Data2MEM:45 - Memory allocation leak of 27 bytes at 0x0048D9D8 for a StrDup.
Total memory in use at allocation was 8822 bytes.
Source file "FileUtils.c", line number 2866.
Memory contents:
0048D9D8: 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0048D9E8: 65 6C 66 00 00 00 00 00 00 00 00 elf........
INTERNAL_ERROR:Data2MEM:45 - Memory allocation leak of 99 bytes at 0x0048F938 for a StrPostCat.
Total memory in use at allocation was 8846 bytes.
Source file "StringUtils.c", line number 2232.
Memory contents:
0048F938: 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0048F948: 44 3A 2F 4D 49 43 52 4F 5F 42 4C 41 5A 45 2F 75 D:/MICRO_BLAZE/u
0048F958: 61 72 74 2F 75 61 72 74 5F 6F 6E 6C 79 2F 75 61 art/uart_only/ua
0048F968: 72 74 5F 6F 6E 6C 79 2E 73 64 6B 2F 68 65 6C 6C rt_only.sdk/hell
INTERNAL_ERROR:Data2MEM:45 - Memory allocation leak of 48 bytes at 0x0048F878 for a 'BDSwitchDataType' record.
Total memory in use at allocation was 8849 bytes.
Source file "CmdParseUtils.c", line number 467.
Memory contents:
0048F878: 00 00 00 00 00 00 00 00 88 B0 48 00 00 00 00 00 ..........H.....
0048F888: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0048F898: 01 00 00 00 00 00 00 00 98 DB 48 00 00 00 00 00 ..........H.....
INTERNAL_ERROR:Data2MEM:45 - Memory allocation leak of 34 bytes at 0x0048B3A8 for a StrDup.
Total memory in use at allocation was 9107 bytes.
Source file "CmdParseUtils.c", line number 583.
Memory contents:
0048B3A8: 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0048B3B8: 64 65 73 69 67 6E 5F 31 5F 69 00 00 00 00 00 00 design_1_i......
0048B3C8: 00 00 ..
INTERNAL_ERROR:Data2MEM:45 - Memory allocation leak of 16 bytes at 0x0048DB98 for 'CharPtrArrayType' data.
Total memory in use at allocation was 9123 bytes.
Source file "StringUtils.c", line number 901.
Memory contents:
0048DB98: B8 B3 48 00 00 00 00 00 00 00 00 00 00 00 00 00 ..H.............
cmd /C data2mem -bm \
D:/MICRO_BLAZE/uart/uart_only/uart_only.runs/impl_1/design_1_wrapper_bd.bmm -bt \
D:/MICRO_BLAZE/uart/uart_only/uart_only.runs/impl_1/design_1_wrapper.bit -bd \
C:/Xilinx/SDK/2015.2/data/embeddedsw/lib/microblaze/mb_bootloop_le.elf tag \
design_1_i/microblaze_0 -o b \
D:/MICRO_BLAZE/uart/uart_only/uart_only.sdk/design_1_wrapper_hw_platform_0/download.bit
ERROR:Data2MEM:59 - Expected a 'tag' or 'tag' keyword in -bd option. Instead, encountered '/'.
data2mem.exe -bm D:/MICRO_BLAZE/uart/uart_only/uart_only.runs/impl_1/design_1_wrapper_bd.bmm -bt D:/MICRO_BLAZE/uart/uart_only/uart_only.runs/impl_1/design_1_wrapper.bit -bd C:/Xilinx/SDK/2015.2/data/embeddedsw/lib/microblaze/mb_bootloop_le.elf tag design_1_i/microblaze_0 -o b D:/MICRO_BLAZE/uart/uart_only/uart_only.sdk/design_1_wrapper_hw_platform_0/download.bit
^
Release 14.6 - Data2MEM P_INT.20150528, build 3.0.10 Apr 3, 2013
Copyright (c) 1995-2015 Xilinx, Inc. All rights reserved.
data2mem
<-bm FILENAME [.bmm]> |
<<[-bm FILENAME [.bmm]]>
<-bd FILENAME [<.elf>|<.mem>] [<[<boot [ADDRESS]>] tag TagName <TagName>...>]>...
<-o <u|v|h|m|b|p> FILENAME [.ucf|.v|.vhd|.mem|.bit|.bmm]>
<-p PARTNAME>
-i>> |
<-u> |
<<-bd FILENAME [.elf]> -d [e|r]> [<-o m FILENAME [.mem]>]>> |
<<-bm FILENAME [.bmm]>
<-bd FILENAME [<.elf>|<.mem>] [<[<boot [ADDRESS]>] tag TagName <TagName>...>]>...
<-bt FILENAME [.bit]> <-o b FILENAME [.bit]>> |
<<-bm FILENAME [.bmm]> <-bt FILENAME [.bit]> -d -[<o d FILENAME [.dmp]>]>> |
<-bx [FILEPATH]> |
<-mf <p PNAME PTYPE PID <a SNAME MTYPE ASTART BWIDTH <s BSIZE DWIDTH IBASE>...>...>...>> |
<<-pp FILENAME [.bmm]> <-o p FILENAME [.bmm]>> |
<-f FILENAME [.opt]> |
<-w [on|off] > |
<-q [s|e|w|i]> |
<-intstyle silent|ise|xflow> |
<-log FILENAME [.log]> |
<-h [<option [< option>...]> | support ]> |
<-encrypt [bbram | efuse] [StartCBC=<hex_string>] [Key0=<hex_string>] [HMAC=<hex_string>] [FILENAME[.nky]]>
-h option_list | all | sup[port]
Print help text for command line options. If only a '-h' is given, then
only the option summary is output. If the '-h' is followed by a space
separated list of option names (without the dash), help is output for
the listed options. For example, '-h bm bd i' gives help on the 'bm',
'bd', and 'i' options. Use '-h all' for help on all options. Lastly,
use '-h support' to list the devices the tool supports. The keyword
'support' can be abbreviated up to 'sup'.
INTERNAL_ERROR:Data2MEM:45 - Memory allocation leak of 64 bytes at 0x001DD5C8 for a 'fileSpecType' record.
Total memory in use at allocation was 8673 bytes.
Source file "ParseUtils.c", line number 13179.
Memory contents:
001DD5C8: E8 FB 1D 00 00 00 00 00 98 B9 1D 00 00 00 00 00 ................
001DD5D8: 48 F9 1D 00 00 00 00 00 48 FB 1D 00 00 00 00 00 H.......H.......
001DD5E8: 28 BA 1D 00 00 00 00 00 2F 00 00 00 0F 00 00 00 (......./.......
001DD5F8: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
INTERNAL_ERROR:Data2MEM:45 - Memory allocation leak of 26 bytes at 0x001DB988 for a StrNew.
Total memory in use at allocation was 8659 bytes.
Source file "StringUtils.c", line number 423.
Memory contents:
001DB988: 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
001DB998: 43 3A 00 00 00 00 00 00 00 00 C:........
INTERNAL_ERROR:Data2MEM:45 - Memory allocation leak of 74 bytes at 0x001DF938 for a StrNew.
Total memory in use at allocation was 8685 bytes.
Source file "StringUtils.c", line number 423.
Memory contents:
001DF938: 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
001DF948: 2F 58 69 6C 69 6E 78 2F 53 44 4B 2F 32 30 31 35 /Xilinx/SDK/2015
001DF958: 2E 32 2F 64 61 74 61 2F 65 6D 62 65 64 64 65 64 .2/data/embedded
001DF968: 73 77 2F 6C 69 62 2F 6D 69 63 72 6F 62 6C 61 7A sw/lib/microblaz
INTERNAL_ERROR:Data2MEM:45 - Memory allocation leak of 38 bytes at 0x001DFB38 for a StrNew.
Total memory in use at allocation was 8759 bytes.
Source file "StringUtils.c", line number 423.
Memory contents:
001DFB38: 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
001DFB48: 6D 62 5F 62 6F 6F 74 6C 6F 6F 70 5F 6C 65 00 00 mb_bootloop_le..
001DFB58: 00 00 00 00 00 00 ......
INTERNAL_ERROR:Data2MEM:45 - Memory allocation leak of 27 bytes at 0x001DBA18 for a StrDup.
Total memory in use at allocation was 8797 bytes.
Source file "FileUtils.c", line number 2866.
Memory contents:
001DBA18: 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
001DBA28: 65 6C 66 00 00 00 00 00 00 00 00 elf........
INTERNAL_ERROR:Data2MEM:45 - Memory allocation leak of 94 bytes at 0x001DFBD8 for a StrPostCat.
Total memory in use at allocation was 8821 bytes.
Source file "StringUtils.c", line number 2232.
Memory contents:
001DFBD8: 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
001DFBE8: 43 3A 2F 58 69 6C 69 6E 78 2F 53 44 4B 2F 32 30 C:/Xilinx/SDK/20
001DFBF8: 31 35 2E 32 2F 64 61 74 61 2F 65 6D 62 65 64 64 15.2/data/embedd
001DFC08: 65 64 73 77 2F 6C 69 62 2F 6D 69 63 72 6F 62 6C edsw/lib/microbl
INTERNAL_ERROR:Data2MEM:45 - Memory allocation leak of 48 bytes at 0x001DD7C8 for a 'BDSwitchDataType' record.
Total memory in use at allocation was 8824 bytes.
Source file "CmdParseUtils.c", line number 467.
Memory contents:
001DD7C8: 00 00 00 00 00 00 00 00 C8 D5 1D 00 00 00 00 00 ................
001DD7D8: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
001DD7E8: 01 00 00 00 00 00 00 00 D8 BB 1D 00 00 00 00 00 ................
INTERNAL_ERROR:Data2MEM:45 - Memory allocation leak of 34 bytes at 0x001DFDE8 for a StrDup.
Total memory in use at allocation was 9082 bytes.
Source file "CmdParseUtils.c", line number 583.
Memory contents:
001DFDE8: 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
001DFDF8: 64 65 73 69 67 6E 5F 31 5F 69 00 00 00 00 00 00 design_1_i......
001DFE08: 00 00 ..
INTERNAL_ERROR:Data2MEM:45 - Memory allocation leak of 16 bytes at 0x001DBBD8 for 'CharPtrArrayType' data.
Total memory in use at allocation was 9098 bytes.
Source file "StringUtils.c", line number 901.
Memory contents:
001DBBD8: F8 FD 1D 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
Am I missing some steps or specific (setup/configuration) for this project?
Please help me
Hi,
You need to increase size of BRAM in your system.
This might solve the issue.
Regards
Praveen
Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful.
Give Kudos to a post which you think is helpful and reply oriented.
-
Getting `No such file or directory` error while trying to open bdb database
I have four multi-threaded processes (2 writer and 2 reader processes), which make use of Berkeley DB transactional data store. I have multiple environments and the associated database files and log files are located in separate directories (please refer to the DB_CONFIG below). When all these four processes start to perform open and close of databases in the environments very quickly, one of the reader process is throwing a No such file or directory error even though the file actually exists.
I am making use of Berkeley DB 4.7.25 for testing out these applications.
The four application names are as follows:
Writer 1
Writer 2
Reader 1
Reader 2
The application description is as follows:
‘*Writer 1*’ owns 8 environments and each environment having 123 Berkeley databases created using HASH access method. At any point of time, ‘*Writer 1*’ will be acting on 24 database files across 8 environments (3 database files per environment) for carrying out write operation. Where as reader process will be accessing all 123 database files / per environment (Total = 123 * 8 environments = 984 database files) for read activities. Similar configuration for Writer 2 as well – 8 separate environments and so on.
Writer 1, Reader 1 and Reader 2 processes share the environments created by Writer 1
Writer 2 and Reader 2 processes share the environments created by Writer 2
My DB_CONFIG file is configured as follows
set_cachesize 0 104857600 1 # 100 MB
set_lg_bsize 2097152 # 2 MB
set_data_dir ../../vol1/data/
set_lg_dir ../../vol31/logs/SUBID/
set_lk_max_locks 1500
set_lk_max_lockers 1500
set_lk_max_objects 1500
set_flags db_auto_commit
set_tx_max 200
mutex_set_increment 7500
Has anyone come across this problem before or is it something to do with the configuration?Hi Michael,
I should have included about how we are making use of DB_TRUNCATE flag in my previous reply itself. Sorry for that.
From writers, DB truncation happens periodically. During truncate (DB handle is not associated with any environment handle i.e. stand-alone DB
) following parameters are passed to db->open function call:
DB->open(DB *db,
DB_TXN *txnid, => NULL
const char *file, => file name (absolute DB file path)
const char *database, => NULL
DBTYPE type, => DB_HASH
u_int32_t flags, => DB_READ_UNCOMMITTED | DB_TRUNCATE | DB_CREATE | DB_THREAD
int mode); => 0
Also, DB_DUP flag is set.
As you have rightly pointed out, `No such file or directory` is occuring during truncation.
While a database is being truncated it will not be found by others trying to open it. We simulated this by stopping the writer process (responsible for truncation) and by opening & closing the databases repeatedly via readers. The reader process did not crash. When readers and writers were run simultaneously, we got `No such file or directory` error.Is there any solution to tackle this problem (because in our case writers and readers are run independently. So readers won't come to know about truncation from writers)?
Also, we are facing one more issue related to DB_TRUNCATE. Consider the following scenario:
<ul><li>Reader process holds reference of database (X) handle in environment 'Y' at time t1
</li>
<li>Writer process opens the database (X) in DB_TRUNCATE mode at time t2 (where t2 > t1)</li>
<li>After truncation, writer process closes the database and joins the environment 'Y'</li>
<li>After this any writes to database X is not visible to the reader process</li>
<li>Once reader process closes the database X and re-joins the environment, all the records inserted from writer process are visible</li>
</ul>
Is it the right behavior? If yes, how to make any writes visible to a reader process without closing and re-opening the database in the above-mentioned scenario?
Also, when [db_set_errfile|http://www.oracle.com/technology/documentation/berkeley-db/db/api_c/db_set_errfile.html] was set, we did not get any additional information in the error file.
Thanks,
Magesh -
Ok, I'm stuck. I'm trying to compile libarchive-1.3.1 ona a system and I get this error. I've tried this and that, but no luck ... anything obvious I need to install? Think there may be a broken symlink somewhere perhaps?
h-3.2# make
make all-am
make[1]: Entering directory `/media/cf/depends/libarchive-1.3.1'
if gcc -DHAVE_CONFIG_H -I. -I. -I. -I./libarchive -g -O2 -MT tar/bsdtar-write.o -MD -MP -MF "tar/.deps/bsdtar-write.Tpo" -c -o tar/bsdtar-write.o `test -f 'tar/write.c' || echo './'`tar/write.c; \
then mv -f "tar/.deps/bsdtar-write.Tpo" "tar/.deps/bsdtar-write.Po"; else rm -f "tar/.deps/bsdtar-write.Tpo"; exit 1; fi
tar/write.c:49:28: error: ext2fs/ext2_fs.h: No such file or directory
tar/write.c: In function 'write_hierarchy':
tar/write.c:599: error: 'EXT2_IOC_GETFLAGS' undeclared (first use in this function)
tar/write.c:599: error: (Each undeclared identifier is reported only once
tar/write.c:599: error: for each function it appears in.)
tar/write.c:601: error: 'EXT2_NODUMP_FL' undeclared (first use in this function)
tar/write.c: In function 'write_entry':
tar/write.c:742: error: 'EXT2_IOC_GETFLAGS' undeclared (first use in this function)
make[1]: *** [tar/bsdtar-write.o] Error 1
make[1]: Leaving directory `/media/cf/depends/libarchive-1.3.1'
make: *** [all] Error 2I've looked into Oracle Database 10g Express Edition (Universal), a .deb file, found no occi.h but did find lots of .so files (linux shared libraries). I'll try and adapt my code and Netbeans/g++ to that and see if it works...
I can't really install it since my 4GB computer is x64 and my i386 "only" has 186RAM... Enterprise Linux Release 5 Media Pack for x86 64 (64 bit) is 5.1GB+updates (~5GB each)... Not gonna waste my time installing that just for a project.
I sense i'm missing something obvious... although there's nothing obvious about *.oracle.com... information company they say? ;) -
Error X11/Xlib.h: No such file or directory
I'm trying to compile some C-code using gcc, and I keep getting the following error: "X11/Xlib.h: No such file or directory". I know that I need to "somehow" identify the Path information for these X11 lib's, etc, but I do not know HOW to do that. I tried adding path definitions to my .profile file - did not work. I have X11 installed, and supposedly I installed the SDK. Can anyone help me with this
If you're not sure if you have the SDKs, can you confirm you have the files under /Developer? Check for /Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/include/X11
I don't remember having to do anything special to get gcc to find these files.
From what I've noted, the usual trigger seems to be that the X11SDK.pkg package wasn't installed.
Typical PATH export is:
export PATH="/bin:/sbin:/usr/bin:/usr/sbin"
If you're working with Fink, there's a call to the following needed:
. /sw/bin/init.sh
See http://finkproject.org/doc/users-guide/install.php
But I'd first make sure the X11 SDK was installed. I'd guess that is missing. -
Qt g++ "fatal error: QtGui : No such file or directory"
I'm trying to program GUIs with Qt for the first time. I'm still extremely new (started reading about it last night) to C++, although I've been programming in C for a while. From the arch package repo, I've downloaded qt, qt-private-headers, and qt-doc. I haven't changed any directories or permissions around. Inside the directory /usr/share/doc/qt/examples/widgets/calculator I try to compile the example program with
g++ main.cpp -o main
and I get the error:
main.cpp:41:24: fatal error: QApplication: No such file or directory
compilation terminated.
When I add the option
g++ main.cpp -o main -I/usr/include/QtGui
, I get a 'permission denied', and when I execute the entire command with sudo, I get a trillion errors, all remarkably the same:
/tmp/ccyHSlXv.o: In function `main':
main.cpp:(.text+0x28): undefined reference to `QApplication::QApplication(int&, char**, int)'
main.cpp:(.text+0x3c): undefined reference to `Calculator::Calculator(QWidget*)'
main.cpp:(.text+0x4d): undefined reference to `QApplication::exec()'
main.cpp:(.text+0x67): undefined reference to `QApplication::~QApplication()'
main.cpp:(.text+0x8c): undefined reference to `QApplication::~QApplication()'
/tmp/ccyHSlXv.o: In function `QString::~QString()':
main.cpp:(.text._ZN7QStringD2Ev[_ZN7QStringD5Ev]+0x23): undefined reference to `QString::free(QString::Data*)'
/tmp/ccyHSlXv.o: In function `Calculator::~Calculator()':
main.cpp:(.text._ZN10CalculatorD2Ev[_ZN10CalculatorD5Ev]+0xc): undefined reference to `vtable for Calculator'
main.cpp:(.text._ZN10CalculatorD2Ev[_ZN10CalculatorD5Ev]+0x16): undefined reference to `vtable for Calculator'
main.cpp:(.text._ZN10CalculatorD2Ev[_ZN10CalculatorD5Ev]+0x3d): undefined reference to `QDialog::~QDialog()'
main.cpp:(.text._ZN10CalculatorD2Ev[_ZN10CalculatorD5Ev]+0x75): undefined reference to `QDialog::~QDialog()'
collect2: ld returned 1 exit status
I have absolutely no clue what's wrong. If anyone has had a similar problem getting Qt to work in Arch, please shout out.I think you need to link it against the qt library? http://ubuntuforums.org/showthread.php?p=11092451
I doubt it's Arch-related.
I would suggest copying the example calculator files to another directory. This is what I've done:
[karol@black foo7]$ qmake calculator.pro
It generates a Makefile
[karol@black foo7]$ ls
total 44K
-rw-r--r-- 1 2,5K 08-04 02:14 button.cpp
-rw-r--r-- 1 2,3K 08-04 02:14 button.h
-rw-r--r-- 1 12K 08-04 02:14 calculator.cpp
-rw-r--r-- 1 3,3K 08-04 02:14 calculator.h
-rw-r--r-- 1 468 08-04 02:14 calculator.pro
-rw-r--r-- 1 2,2K 08-04 02:14 main.cpp
-rw-r--r-- 1 9,6K 08-04 02:16 Makefile
[karol@black foo7]$ make
g++ -c -pipe -march=i686 -mtune=generic -O2 -pipe -fno-strict-aliasing -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include -I. -o button.o button.cpp
g++ -c -pipe -march=i686 -mtune=generic -O2 -pipe -fno-strict-aliasing -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include -I. -o calculator.o calculator.cpp
g++ -c -pipe -march=i686 -mtune=generic -O2 -pipe -fno-strict-aliasing -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include -I. -o main.o main.cpp
/usr/bin/moc -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include -I. button.h -o moc_button.cpp
g++ -c -pipe -march=i686 -mtune=generic -O2 -pipe -fno-strict-aliasing -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include -I. -o moc_button.o moc_button.cpp
/usr/bin/moc -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include -I. calculator.h -o moc_calculator.cpp
g++ -c -pipe -march=i686 -mtune=generic -O2 -pipe -fno-strict-aliasing -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include -I. -o moc_calculator.o moc_calculator.cpp
g++ -Wl,--hash-style=gnu -Wl,--as-needed -Wl,-O1 -o calculator button.o calculator.o main.o moc_button.o moc_calculator.o -L/usr/lib -lQtGui -lQtCore -lpthread
[karol@black foo7]$ ls
total 148K
-rw-r--r-- 1 2,5K 08-04 02:14 button.cpp
-rw-r--r-- 1 2,3K 08-04 02:14 button.h
-rw-r--r-- 1 1,8K 08-04 02:17 button.o
-rwxr-xr-x 1 43K 08-04 02:17 calculator
-rw-r--r-- 1 12K 08-04 02:14 calculator.cpp
-rw-r--r-- 1 3,3K 08-04 02:14 calculator.h
-rw-r--r-- 1 21K 08-04 02:17 calculator.o
-rw-r--r-- 1 468 08-04 02:14 calculator.pro
-rw-r--r-- 1 2,2K 08-04 02:14 main.cpp
-rw-r--r-- 1 3,2K 08-04 02:17 main.o
-rw-r--r-- 1 9,6K 08-04 02:16 Makefile
-rw-r--r-- 1 2,0K 08-04 02:17 moc_button.cpp
-rw-r--r-- 1 7,4K 08-04 02:17 moc_button.o
-rw-r--r-- 1 3,5K 08-04 02:17 moc_calculator.cpp
-rw-r--r-- 1 9,8K 08-04 02:17 moc_calculator.o
[karol@black foo7]$ ./calculator
Works!
Last edited by karol (2011-08-04 00:23:52)
Maybe you are looking for
-
I transferred my itunes library using all the guided steps promepted on this topic, when I restarted iTunes in its new location on my xternal hard drive, iTunes did not have any of my ratings or playlists. I did have the hard drive running before i
-
Empty Weblogic Server 8.1 SP1 Repeating Stack Trace
Thanks in advance for any help and attention! An instance of Weblogic 8.1 SP1 on our UAT environment keeps on spitting out stack traces even though the only user accessing WL is via the admin console. There are no applications deployed on t
-
Create multiple deliveries against the same customer return order
I want to create multiple deliveries against the same Customer return order. But once the RF transaction is run it closes all the lines. We need to be able to receive multiple times against the same RA number and create different deliveries. Any ide
-
Can I use my K1 Tablet while it is charging?
I realize this may seem to be a very basic question, but this is the first time I have had a tablet. We also bought my son a tablet today (different brand) that says it is not recommended to use the tablet while it is charging. My question then is.
-
Get resolution of double?
When converting a string to double the result prints out as 0.000000. Of course this is because the default resolution is to six digits. Using 10 digits of resolution gives 0.0000000247. What is the function or the best way to detect the length of