Can't compile gnome-libs

Yes... I know gtk1 and gnome-libs are horribly outdated but until there is a terminal that has *all* the features of multi-gnome-terminal I'm dependent on it
So... I'm trying to compile gnome-libs 1.4.1.2 and ./configure breaks at the following point
checking for dbopen... no
checking for dbopen in -ldb... no
checking for dbopen in -ldb1... no
checking for __db185_open in -ldb-3... no
configure: error: Your db library is missing db 1.85 compatibility mode
I tried ABS to add the compilation flag, but it already seems to be there:
build() {
cd $startdir/src/$pkgname-$pkgver/build_unix
../dist/configure --prefix=/usr --enable-compat185 \
--enable-shared --enable-static --enable-cxx
I rebuilt it anyway but to no avail.
Anyone know why ./configure doesn't think db has 1.85 compatibility and how to rectify?

i'm afraid not... It does create a new set of lib files (libdb3 opposed to libdb4) and I even removed the libdb4 files to incase somehow it was still finding those but I can't get over that error.
I'm trying a different route now though - I used pkgextract to extract a gnome-libs RPM and I'll just plop those in place.  I tried that for all of multi-gnome-terminals dependencies but it croaked upon started so I'll try with just gnome-libs and compiling the rest.

Similar Messages

  • Compiling gnome-libs for gnucash

    I'm trying to install gnucash. The dependencies include gnome-libs 1.4 . I'm compiling gnome-libs but I get an error:
    #define art_alloc
    #define art_free
    #define art_realloc
    #define art_new (type, n)
    #define art_renew (p, type, n)
    Description
    These API functions are a set of wrapper functions around the OS-specific
    memory management functions: they are used to keep the user-level code portable.
    Their definitions are straighforward so we will not get into any details.
    XXX: check for g_new behaviour when memory allocation problem.
    Details
    art_alloc
    art_alloc#define art_alloc malloc
    Same semantics as those of the standard C malloc function.
    art_free
    art_free#define art_free free
    Same semantics as those of the standard C free function.
    art_realloc
    art_realloc#define art_realloc realloc
    Same semantics as those of the standard C realloc function.
    art_new()
    art_new#define art_new(type, n) ((type *)art_alloc ((n) * sizeof(type)))
    This macro is not equivalent to the glib g_new function. As
    g_new, it takes two parameters: the type of the object to
    instantiate as first parameter and the number of such objects to instantiate as
    second parameter. It will return a dynamically allocated array of memory you can
    use to store objects in. In case of failure of the memory allocation, it will
    return NULL (this is very diffrent from g_new which does not
    return in case of failure. g_new allways suceeds).typemake[4]: *** [html-build.stamp] Error 1
    make[4]: Leaving directory `/home/ovihc/sources/gnome-libs-1.4.2/libart_lgpl/doc'
    make[3]: *** [all-recursive] Error 1
    make[3]: Leaving directory `/home/ovihc/sources/gnome-libs-1.4.2/libart_lgpl'
    make[2]: *** [all-recursive-am] Error 2
    make[2]: Leaving directory `/home/ovihc/sources/gnome-libs-1.4.2/libart_lgpl'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/ovihc/sources/gnome-libs-1.4.2'
    make: *** [all-recursive-am] Error 2
    I already installed g-wrap & ORbit & slib . when i type "./configure" it exits very well without any errors. What dependency do I need or what is the problem? My archlinux is already upgraded. This error is when I type "make".
    Thanks.

    AFAIK the gtk2 port of gnucash has a long way to go before it is usable, hence the lack of attention given to it on the website.
    But it is possible to run gnucash on archlinux - I've been doing this for a couple of months.
    If you want to have a play with the pkgbuilds I used for this, grab http://www.burnett-hall.co.uk/~ojbh/arc … 722.tar.gz.  There isn't anything too surprising in there; a few fixes for stuff like gcc-3.4, freetype2, etc. 
    Note that this includes a package I've called gdk-pixbuf-gnome-canvas.  gdk-pixbuf is part of current, but does not include gnome1 support.  You'll need to use --force or something to get pacman to install it.
    gnome-libs build fine for me; I'm not sure what's causing the errors you got - they look very strange.  Were you doing a parallel make or using some silly gcc optimisations?
    - olly

  • Can't compile javax.xml.soap

    I can't compile the following code:
    import javax.xml.soap.SOAPConnectionFactory;
    import javax.xml.soap.SOAPConnection;
    public class SOAPTip {
    public static void main(String args[]) {
    try {
    //First create the connection
    SOAPConnectionFactory soapConnFactory =
    SOAPConnectionFactory.newInstance();
    SOAPConnection connection =
    soapConnFactory.createConnection();
    //Close the connection
    connection.close();
    } catch(Exception e) {
    System.out.println(e.getMessage());
    It says that "package javax.xml.soap can't be found", I don't know why, because I have installed my JSDK and its respective path in the enviroment variables and the JWSDK too with its path in the environment variable, so, what else do I have to do so the compiler can recognize that library????

    I find that if I have install J2ee in C:\Java\j2ee, then I can compile your modules with this line:
    javac -classpath C:\Java\j2ee\lib\j2ee.jar SOAPTip.java

  • [SOLVED] Can't compile any kernels or modules

    I can't compile the kernel, or any kernel modules. I tried the [core] kernel from ABS and the linux-ck kernel from AUR. I also tried to build vhba and nvidia modules.
    I tried the standard cflags and many others.
    All kernel compiles fail (immediately) with:
    scripts/mod/empty.c:1:0: error: code model kernel does not support PIC mode
    /* empty file to figure out endianness / word size */
    ^
    edward_81 had the same problem, with a default makepkg.conf and linux-mainline, which was never resolved.
    I don't know why this file is being compiled in PIC mode. I have not explicitly enabled PIC anywhere I know of. I checked everywhere I know to look.
    Last edited by quequotion (2015-02-04 15:46:10)

    graysky wrote:Try building one of them in a clean chroot.
    Will try.
    Finally got this working:
    Please add V=1 to the make command on line 89 and rebuild with MAKEFLAGS="-j1" to get verbose output.
    make -f ./scripts/Makefile.build obj=scripts/genksyms
    [...snip...]
    gcc -Wp,-MD,scripts/mod/.empty.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include -I./arch/x86/include -Iarch/x86/include/generated -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m64 -mno-80387 -mno-fp-ret-in-387 -march=native -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -fno-inline-functions-called-once -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -DCC_HAVE_ASM_GOTO -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(empty)" -D"KBUILD_MODNAME=KBUILD_STR(empty)" -c -o scripts/mod/.tmp_empty.o scripts/mod/empty.c
    scripts/mod/empty.c:1:0: error: code model kernel does not support PIC mode
    /* empty file to figure out endianness / word size */
    ^
    scripts/Makefile.build:257: recipe for target 'scripts/mod/empty.o' failed
    Last edited by quequotion (2015-02-04 13:40:15)

  • I Can't compiled forms in server 9iAS, Linux

    Good.. I have a problem, when I want to compile the "form", in linux down(under) 9iAS. There throws a mistake that does not find bookshop libigo.so.0, but if they exist inside the directory(board of directors) Lib., it is bad, because all the feasible ones of the Bin, give the same problem with other bookshops .. it seemed that not this formed well....

    I haven't had the opportunity to use Linux yet, but found an article, Note:136678.1, stating that you may get this type of error because of the desktop manager. Here's an excerpt from that article:
    The error is raised on Redhat 6.0 after adding "/usr/X11R6/lib" to LD_LIBRARY_PATH.
    After adding "/opt/gnome/lib" to LD_LIBRARY_PATH the problem is gone.
    After adding "/opt/kde/lib" KDE works with KWM.
    The only window manager that doesn't work now is "Enlightenment".
    The be on the safe side you never should rely on the Window Manager or Desktop Manager default settings.
    So always define this LD_LIBRARY_PATH when using Gnome on SuSE:
    $ORACLE_HOME/lib:/usr/X11R6/lib:/opt/gnome/lib
    And always define this LD_LIBRARY_PATH when using KDE on SuSE:
    $ORACLE_HOME/lib:/usr/X11R6/lib:/opt/kde/lib
    Bug 1422913 was filed for this problem and closed with status 92 (no bug) after the solution was found.
    Bug 1413894 describes a similar problem - with different errors on Redhat Linux.

  • Intel-hda no sound out of speakers. Can't compile alsa cvs. 1420n Dell

    Hello!
          I'm somewhat new to Archlinux. I am trying to get my intel-hda card to work. I have a Dell inspiron 1420n laptop. Sound will come out of speakers if I plug them into the front headphone jack, but will not come out of the built in speakers on the laptop. I found this forum thread http://bbs.archlinux.org/viewtopic.php?id=34420 and they seemed to have fixed the problem, but I can't compile alsa. The drivers compiled fine, but alsa-lib will not. I get the following errors:
    python.c:962: error: 'struct python_priv' has no member named 'py_mdict'
    python.c:962: warning: implicit declaration of function 'PyModule_GetDict'
    python.c:963: warning: implicit declaration of function 'PyString_FromString'
    python.c:965: warning: implicit declaration of function 'PyDict_SetItemString'
    python.c:972: warning: implicit declaration of function 'PyModule_AddObject'
    python.c:972: error: expected expression before ')' token
    python.c:973: error: expected expression before ')' token
    python.c:984: error: 'struct python_priv' has no member named 'py_mixer'
    python.c:991: warning: implicit declaration of function 'PyRun_FileEx'
    python.c:991: error: 'Py_file_input' undeclared (first use in this function)
    python.c:995: error: 'struct python_priv' has no member named 'py_event_func'
    python.c:996: error: 'struct python_priv' has no member named 'py_event_func'
    make[3]: *** [python.lo] Error 1
    make[3]: Leaving directory `/home/kevin/alsacvs/alsa-lib/modules/mixer/simple'
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory `/home/kevin/alsacvs/alsa-lib/modules/mixer'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/kevin/alsacvs/alsa-lib/modules'
    make: *** [all-recursive] Error 1
    I tried finding out if I was missing a python library, but I can't seem to find out any information anywhere. Please help me I love this distro! Everything is all setup besides this pesky audio problem BTW I am in the audio group. Thanks!!

    Yeah your right, it very much is. Well, this lappy is the one of the models Dell are selling pre-installed with Ubuntu. I ditched Ubuntu for Arch because I liked it so much on my desktop computer I replaced with this laptop. But in Ubuntu the sound did work (although poor quality). The only thing I had to configure was the video acceleration because it seems all distros don't have support for the i965 (X3100 graphics) chipset yet (got it in Arch with testing packages). Sabayon is the only one I found that claims to support it fully, but I want to use arch. I know my problem can be fixed easily. Everyone else has fixed it, but I think I'm missing something small...

  • Can't compile with QT4 anymore

    Hi,
    Since last upgrade I can't compile my qt4 apps with KDevelop or QDevelop. It says something like :
    make: *** No rules to build target « /opt/qt4/mkspecs/linux-g++/qmake.conf », required by « Makefile ». Stopping.
    The qt-config tool does not exist anymore. There is a qtconfig one but, doesn't seem to be helping.
    I know that the files in the the qt4 package have been moved from /opt/qt4 to /usr/, but still I don't know what to do.
    I'm stuck !

    The fact is I cannot compile ANYTHING in QT4 !
    Let's take an example. I want to compile QPaddy (you can find it on qt-apps.org).
    I set the vars (which doesn't seem to have any effect):
    export QTDIR=/usr/share/qt4
    export QMAKESPEC=/usr/share/qt4/mkspecs/linux-g++
    export QT_LIBRARY_PATH=/usr/include/Qt
    I try to compile QPAddy :
    qmake qpaddy.pro
    make
    Here is what I get :
    cd src/ && make -f Makefile
    make[1]: entrant dans le répertoire « /root/docs/qpaddy0876/src »
    make[1]: *** Pas de règle pour fabriquer la cible « /usr/lib/qt-3.3/mkspecs/default/qmake.conf », nécessaire pour « Makefile ». Arrêt.
    make[1]: quittant le répertoire « /root/docs/qpaddy0876/src »
    make: *** [sub-src-make_default] Erreur 2
    And now the MakeFile :
    # Makefile for building: qpaddy
    # Generated by qmake (2.01a) (Qt 4.3.2) on: mar. nov. 6 17:49:17 2007
    # Project:  qpaddy.pro
    # Template: subdirs
    # Command: /usr/bin/qmake -unix -o Makefile qpaddy.pro
    first: make_default
    MAKEFILE      = Makefile
    QMAKE         = /usr/bin/qmake
    DEL_FILE      = rm -f
    CHK_DIR_EXISTS= test -d
    MKDIR         = mkdir -p
    COPY          = cp -f
    COPY_FILE     = $(COPY)
    COPY_DIR      = $(COPY) -r
    INSTALL_FILE  = install -m 644 -p
    INSTALL_PROGRAM = install -m 755 -p
    INSTALL_DIR   = $(COPY_DIR)
    DEL_FILE      = rm -f
    SYMLINK       = ln -sf
    DEL_DIR       = rmdir
    MOVE          = mv -f
    CHK_DIR_EXISTS= test -d
    MKDIR         = mkdir -p
    SUBTARGETS    =  \
            sub-src
    src//$(MAKEFILE):
        @$(CHK_DIR_EXISTS) src/ || $(MKDIR) src/
        cd src/ && $(QMAKE) src.pro -unix -o $(MAKEFILE)
    sub-src-qmake_all:  FORCE
        @$(CHK_DIR_EXISTS) src/ || $(MKDIR) src/
        cd src/ && $(QMAKE) src.pro -unix -o $(MAKEFILE)
    sub-src: src//$(MAKEFILE) FORCE
        cd src/ && $(MAKE) -f $(MAKEFILE)
    sub-src-make_default: src//$(MAKEFILE) FORCE
        cd src/ && $(MAKE) -f $(MAKEFILE)
    sub-src-make_first: src//$(MAKEFILE) FORCE
        cd src/ && $(MAKE) -f $(MAKEFILE) first
    sub-src-all: src//$(MAKEFILE) FORCE
        cd src/ && $(MAKE) -f $(MAKEFILE) all
    sub-src-clean: src//$(MAKEFILE) FORCE
        cd src/ && $(MAKE) -f $(MAKEFILE) clean
    sub-src-distclean: src//$(MAKEFILE) FORCE
        cd src/ && $(MAKE) -f $(MAKEFILE) distclean
    sub-src-install_subtargets: src//$(MAKEFILE) FORCE
        cd src/ && $(MAKE) -f $(MAKEFILE) install
    sub-src-uninstall_subtargets: src//$(MAKEFILE) FORCE
        cd src/ && $(MAKE) -f $(MAKEFILE) uninstall
    Makefile: qpaddy.pro  /usr/share/qt4/mkspecs/linux-g++/qmake.conf /usr/share/qt4/mkspecs/common/g++.conf \
            /usr/share/qt4/mkspecs/common/unix.conf \
            /usr/share/qt4/mkspecs/common/linux.conf \
            /usr/share/qt4/mkspecs/qconfig.pri \
            /usr/share/qt4/mkspecs/features/qt_functions.prf \
            /usr/share/qt4/mkspecs/features/qt_config.prf \
            /usr/share/qt4/mkspecs/features/exclusive_builds.prf \
            /usr/share/qt4/mkspecs/features/default_pre.prf \
            /usr/share/qt4/mkspecs/features/release.prf \
            /usr/share/qt4/mkspecs/features/default_post.prf \
            /usr/share/qt4/mkspecs/features/qt.prf \
            /usr/share/qt4/mkspecs/features/unix/thread.prf \
            /usr/share/qt4/mkspecs/features/moc.prf \
            /usr/share/qt4/mkspecs/features/warn_on.prf \
            /usr/share/qt4/mkspecs/features/resources.prf \
            /usr/share/qt4/mkspecs/features/uic.prf \
            /usr/share/qt4/mkspecs/features/yacc.prf \
            /usr/share/qt4/mkspecs/features/lex.prf
        $(QMAKE) -unix -o Makefile qpaddy.pro
    /usr/share/qt4/mkspecs/common/g++.conf:
    /usr/share/qt4/mkspecs/common/unix.conf:
    /usr/share/qt4/mkspecs/common/linux.conf:
    /usr/share/qt4/mkspecs/qconfig.pri:
    /usr/share/qt4/mkspecs/features/qt_functions.prf:
    /usr/share/qt4/mkspecs/features/qt_config.prf:
    /usr/share/qt4/mkspecs/features/exclusive_builds.prf:
    /usr/share/qt4/mkspecs/features/default_pre.prf:
    /usr/share/qt4/mkspecs/features/release.prf:
    /usr/share/qt4/mkspecs/features/default_post.prf:
    /usr/share/qt4/mkspecs/features/qt.prf:
    /usr/share/qt4/mkspecs/features/unix/thread.prf:
    /usr/share/qt4/mkspecs/features/moc.prf:
    /usr/share/qt4/mkspecs/features/warn_on.prf:
    /usr/share/qt4/mkspecs/features/resources.prf:
    /usr/share/qt4/mkspecs/features/uic.prf:
    /usr/share/qt4/mkspecs/features/yacc.prf:
    /usr/share/qt4/mkspecs/features/lex.prf:
    qmake: qmake_all FORCE
        @$(QMAKE) -unix -o Makefile qpaddy.pro
    qmake_all: sub-src-qmake_all FORCE
    make_default: sub-src-make_default FORCE
    make_first: sub-src-make_first FORCE
    all: sub-src-all FORCE
    clean: sub-src-clean FORCE
    distclean: sub-src-distclean FORCE
        -$(DEL_FILE) Makefile
    install_subtargets: sub-src-install_subtargets FORCE
    uninstall_subtargets: sub-src-uninstall_subtargets FORCE
    mocclean: compiler_moc_header_clean compiler_moc_source_clean
    mocables: compiler_moc_header_make_all compiler_moc_source_make_all
    install: install_subtargets  FORCE
    uninstall:  uninstall_subtargets FORCE
    FORCE:
    Any idea ?

  • OpenOffice,xscreensaver,gnome-libs not in OEL 5.5

    Hallo!I recently installed Oracle 10g in OEL 5.5.Some of the prerequisite software needed to install 10g rpms e.g xscreensaver and gnome-libs are not in the OEL 5.5 installation CDs/DVD.
    Though I successfully installed Oracle 10g in OEL 5.5,I am concerned that the lack of these s/w mentioned above could result in future errors.Is this so and if it is,what are the nature of the problems that I might get.
    I was also surprised that OpenOffice also isnt there.
    All these rpms are available in OEL 4.7 where I had previously installed Oracle 10g.
    Thanks.

    Requirements for 10gR2 were made for OEL 4.7.
    Regarding gnome-libs, there is a compatibility library already installed as part of the gdbm-1.8.0-xx.x.x install. To satisfy the 10g installer requirements you can ceate the following symlink: ln -s /usr/lib/libgdbm.so.2.0.0 /usr/lib/libdb.so.2
    You can also use runInstaller -ignoreSysPrereqs.
    The following url addresses 10gR2 installation on OEL5:
    Re: Oracle 10g r2 for OEL5
    EPEL will give you additional packages from Fedora distribution that you can install with yum
    sudo su -
    rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpmOpenOffice: http://download.openoffice.org/ (or maybe check out Koffice if it will suit your needs).
    Edited by: Markus Waldorf on Sep 13, 2010 8:05 PM

  • Can's compile the gdbm program ?(SOLVED)

    Here is an example comes from Beginning Linux Programming 3rd ,and I can't compile it on my machine. I don't know why?? And the gdbm package is always in the base. Please help me.
    try compile 1:
    $gcc dbm1.c -o gdbm1 -lgdbm
    错误信息:
    /tmp/cc2vMknU.o: In function `main':
    dbm1.c: (.text+0x2d): undefined reference to `dbm_open'
    dbm1.c: (.text+0x244): undefined reference to `dbm_store'
    dbm1.c: (.text+0x2ee): undefined reference to `dbm_fetch'
    dbm1.c: (.text+0x379): undefined reference to `dbm_close'
    collect2: ld returned 1 exit status
    try compile 2:
    $ gcc dbm1.c -o gdbm1 -lndbm -L/usr/lib
    错误信息:
    /usr/bin/ld: cannot find -lndbm
    collect2: ld returned 1 exit status
    #include <unistd.h>
    #include <stdlib.h>
    #include <stdio.h>
    #include <fcntl.h>
    #include <ndbm.h>
    #include <string.h>
    #define TEST_DB_FILE "/tmp/dbm1_test"
    #define ITEMS_USED 3
    /* A struct to use to test dbm */
    struct test_data {
    char misc_chars[15];
    int any_integer;
    char more_chars[21];
    int main() {
    struct test_data items_to_store[ITEMS_USED];
    struct test_data item_retrieved;
    char key_to_use[20];
    int i, result;
    datum key_datum;
    datum data_datum;
    DBM *dbm_ptr;
    dbm_ptr = dbm_open(TEST_DB_FILE, O_RDWR | O_CREAT, 0666);
    if (!dbm_ptr) {
    fprintf(stderr, "Failed to open database\n");
    exit(EXIT_FAILURE);
    /* put some data in the structures */
    memset(items_to_store, '\0', sizeof(items_to_store));
    strcpy(items_to_store[0].misc_chars, "First!");
    items_to_store[0].any_integer = 47;
    strcpy(items_to_store[0].more_chars, "foo");
    strcpy(items_to_store[1].misc_chars, "bar");
    items_to_store[1].any_integer = 13;
    strcpy(items_to_store[1].more_chars, "unlucky?");
    strcpy(items_to_store[2].misc_chars, "Third");
    items_to_store[2].any_integer = 3;
    strcpy(items_to_store[2].more_chars, "baz");
    for (i = 0; i < ITEMS_USED; i++) {
    /* build a key to use */
    sprintf(key_to_use, "%c%c%d",
    items_to_store[i].misc_chars[0],
    items_to_store[i].more_chars[0],
    items_to_store[i].any_integer);
    /* build the key datum strcture */
    key_datum.dptr = (void *)key_to_use;
    key_datum.dsize = strlen(key_to_use);
    data_datum.dptr = (void *)&items_to_store[i];
    data_datum.dsize = sizeof(struct test_data);
    result = dbm_store(dbm_ptr, key_datum, data_datum, DBM_REPLACE);
    if (result != 0) {
    fprintf(stderr, "dbm_store failed on key %s\n", key_to_use);
    exit(2);
    } /* for */
    /* now try and retrieve some data */
    sprintf(key_to_use, "bu%d", 13); /* this is the key for the second item */
    key_datum.dptr = key_to_use;
    key_datum.dsize = strlen(key_to_use);
    data_datum = dbm_fetch(dbm_ptr, key_datum);
    if (data_datum.dptr) {
    printf("Data retrieved\n");
    memcpy(&item_retrieved, data_datum.dptr, data_datum.dsize);
    printf("Retrieved item - %s %d %s\n",
    item_retrieved.misc_chars,
    item_retrieved.any_integer,
    item_retrieved.more_chars);
    else {
    printf("No data found for key %s\n", key_to_use);
    dbm_close(dbm_ptr);
    exit(EXIT_SUCCESS);
    Last edited by 009lin (2007-08-19 02:29:54)

    GDBM includes dbm and ndbm compatability.
    I found the solution from the man page, it said:
    If you wish to use the dbm or ndbm  compatibility  routines,  you  must
           link in the gdbm_compat library as well.  For example:
                gcc -o prog proc.c -lgdbm -lgdbm_compat
    Last edited by 009lin (2007-08-19 02:29:27)

  • Gnome-libs error

    gnome-libs is not installing
    shows failed dipendancies
    orbit is needed
    gtk+
    imlib
    libiiop.so.0
    wher we can install this
    is it needed for R12 installation

    Asico,
    Please review Note: 401167.1 - Defining a "default RPMs" installation of the Oracle Enterprise Linux (OEL) OS
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=401167.1

  • Can't compile.

    Hi,
    I was a VB developer and started to develop using java recently.
    I had to do some modification in a existing java project uses tomcat as the web server. I'm using Jbuilder 9 toas my editor. what I'm doing is open files using jbuilder and do the modification. I did couple of changes in my jsp files and those changes are working fine. Recently I had to do a modification in one of .java file. So I opened the file using Jbuilder and did the modification. then when I tried to compile the file It gave a lot of errors. when i run the site without the change i did to .java file it's working perfectly.
    most of the error like.
    <file name>.package <path> doesnot exist at line <line number>, column<column number>
    but those files exist in relavant folders reffered and i think when i'm compiling the .java file it can't refer those files.
    How can I compile my .java file and make the .class file.
    Thanks in advance.

    hi arijit_datta,
    Here I list down couple of errors I got when trying to compile.
    "LeaveApplication.java": package com.HRM.eLeave.dbhandle does not exist at line 3, column 35
    "LeaveApplication.java": package com.HRM.eLeave.util does not exist at line 11, column 1
    "LeaveApplication.java": cannot resolve symbol: class Environment in class com.HRM.eLeave.leaveApplication.LeaveApplication at line 31, column 72
    "LeaveApplication.java": cannot resolve symbol: class Environment in class com.HRM.eLeave.leaveApplication.LeaveApplication at line 397, column 19

  • (I can't compile it .I don't know how to write constructor in Initial Class

    All class and main program is OK except the inital class.
    Author Class
    class Author {
    private String authorName;
    private Initials inits;
    private int numTitles = 0;
    // PRE True POST Prompts user for details
    // and RETURNS new Author constructed from details
    public Author(BufferedReader in) {
    System.out.print("\nSurname ==> ");
    authorName = Text.ReadString(in);
    inits = new Initials(in);
    numTitles = 0;
    // PRE TRUE
    // POST RETURNS String representation of Author
    public String toString() {
    String result;
    result = "NAME : " + authorName + " " + inits.toString() + "\n";
    result = result + "Number of titles is " + numTitles;
    return(result);
    // PRE TRUE
    // POST Increments number of titles
    public void incTitles() {
    numTitles++;
    Book Class
    public class Book {
    private String title;
    private Author author;
    // PRE TRUE // POST Prompts user for details
    // and RETURNS new Author constructed from details
    public Book(Author author, BufferedReader in) {
    System.out.print("\nTitle ==> ");
    title = Text.ReadString(in);
    this.author = author;
    author.incTitles();
    // PRE TRUE
    // POST RETURNS String representation of Book
    public String toString() {
    String result;
    result = "TITLE : " + title + "\n";
    result = result + "AUTHOR\n" + author.toString() + "\n";
    return(result);
    *****Initial Class (I can't compile it . I don't know how to write constructor
    class Initials
    {   private char[] inits;
         public Initials(BufferedReader in)
         System.out.print("\nInitails Testing ==> ");
         inits = Text.ReadString(in);
         public String toString()
              String result;
              result="Testing";
              return(result);
    Main program
    public class BookMain {
    static private BufferedReader in = new BufferedReader(new                                    InputStreamReader(System.in));
    public static void main(String[] args) {
    Author authorRec1, authorRec2;
    Book bookRec1, bookRec2;
    System.out.println("\n\n****** First author input");
    authorRec1 = new Author(in);
    System.out.println("\n\n****** First author output\n" + authorRec1.toString());
    System.out.println("\n\n****** Second author input");
    authorRec2 = new Author(in);
    System.out.println("\n\n****** Second author output\n" + authorRec2.toString());
         System.out.println("\n\n****** First book input");
    bookRec1 = new Book(authorRec2, in);
    System.out.println("\n\n****** First book output\n" + bookRec1.toString());
    System.out.println("\n\n****** Second book input");
    bookRec2 = new Book(authorRec2, in);
    System.out.println("\n\n****** Second book output\n" + bookRec2.toString());
    System.out.println("\n\n****** First book output\n" + bookRec1.toString());

    Change this
    class Initials {
    private char[] inits;
    to this
    class Initials {
    private String inits;
    import java.io.*;
    public class BookTest {
      static private BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
      public static void main(String[] args) {
        Author authorRec1, authorRec2;
        Book bookRec1, bookRec2;
        System.out.println("\n\n****** First author input");
        authorRec1 = new Author(in);
        System.out.println("\n\n****** First author output\n" + authorRec1.toString());
        System.out.println("\n\n****** Second author input");
        authorRec2 = new Author(in);
        System.out.println("\n\n****** Second author output\n" + authorRec2.toString());
        System.out.println("\n\n****** First book input");
        bookRec1 = new Book(authorRec2, in);
        System.out.println("\n\n****** First book output\n" + bookRec1.toString());
        System.out.println("\n\n****** Second book input");
        bookRec2 = new Book(authorRec2, in);
        System.out.println("\n\n****** Second book output\n" + bookRec2.toString());
        System.out.println("\n\n****** First book output\n" + bookRec1.toString());
    class Author {
      private String authorName;
      private Initials inits;
      private int numTitles = 0;
      // PRE True POST Prompts user for details
      // and RETURNS new Author constructed from details
      public Author(BufferedReader in) {
        System.out.print("\nSurname ==> ");
        authorName = Text.ReadString(in);
        inits = new Initials(in);
        numTitles = 0;
      // PRE TRUE
      // POST RETURNS String representation of Author
      public String toString() {
        String result;
        result = "NAME : " + authorName + " " + inits.toString() + "\n";
        result = result + "Number of titles is " + numTitles;
        return(result);
      // PRE TRUE
      // POST Increments number of titles
      public void incTitles() {
        numTitles++;
    class Book {
      private String title;
      private Author author;
      // PRE TRUE // POST Prompts user for details
      // and RETURNS new Author constructed from details
      public Book(Author author, BufferedReader in) {
        System.out.print("\nTitle ==> ");
        title = Text.ReadString(in);
        this.author = author;
        author.incTitles();
      // PRE TRUE
      // POST RETURNS String representation of Book
      public String toString() {
        String result;
        result = "TITLE : " + title + "\n";
        result = result + "AUTHOR\n" + author.toString() + "\n";
        return(result);
    class Initials {
      private String inits;
      public Initials(BufferedReader in) {
        System.out.print("\nInitails Testing ==> ");
        inits = Text.ReadString(in);
      public String toString() {
        String result;
        result = inits;
        return(result);
    class Text {
      static String ReadString(BufferedReader in) {
        String text = "";
        try {
          text = in.readLine();
        catch (IOException e) {
          System.out.println(e.getMessage());
          System.exit(0);
        return text;
    }

  • (short)a=1 can't compiled??

    Deal all:
    I am new to java.
    If i type as below:
    short a=1;b=2; ->can compiled
    short a,b; a=1;b=2 -> can't compiled
    short a,b;a=(short)(1);->can't compiled
    can anyboby tell me Why?
    Thanks!!!

    hi,
    i was able to compile the below statements below with jdk 1.3.
    short a=1,b=2; //->can compiled
    short a,b; a=1;b=2;// -> can't compiled
    short a,b;a=(short)(1);//->can't compiled
    if these does not work with ur version, please do send us ur error.
    regards,
    shiva

  • Can i compile new procedures/packages on my snapshot standby?

    Hi
    can i compile new procedures/packages on my snapshot standby?
    I need to test the new release of the application, which include some changes to current packages
    thanks

    yes you can do it, just that it will be flashbed back to the restore point when it was standby first, do anything on it, but be aware that later you convert from snapshot standby to physical standby, more time it would take for redo to be applied and also it is mandatory to open the snapshot at least once in read-write mode before it can be converted into a physical standby database.
    Regards
    Karan

  • I have jsdk2, but I can't compile servlet program

    I have jsdk2 version. which create in my c:\ dirve a folder jdk1.3. I do all the program from that. But I found that some of the class files of Servlet (servletRespose etc ) is missing. What I do to recover that. Even I can't compile any servlet program from that. Pls reply to my problems.
    Regards.
    Ranjan

    The Servlet API is part of J2EE (Java 2 Enterprise Edition). It is not included in the Standard Edition.
    So you need to download and install the J2EE reference implementation or another servlet engine such as Apache Tomcat ( http://jakarta.apache.org/tomcat ). Don't forget to put the Tomcat JAR files in your CLASSPATH when compiling your servlet program.
    Jesper

Maybe you are looking for

  • Save menu options are dimmed

    Hi all, I'm working with a set of students who have run into a bit of a problem saving a project they are working on in Garageband 3. I wasn't in the room with them when this came up, so I have limited info. about the circumstances surrounding this e

  • 16:10 or squarer laptop ?

    are there any lightweight non-touchscreen toshiba laptops with 16:10 or squarer screens ? i really like my toshiba portege r600 but i would like a dvi external monitor port and usb3 port - but no current mobile devices apart from the microsoft surfac

  • Issue with Real-Time data acquisition

    Hello, I'm using RDA to extract a non-standard transparent table (Z*) from  ECC to BI. When I launch my deamon, my infopackage and my DTP become yellow only 2/3 seconds and green just after, and no data are coming from ECC. If I check the deamon log

  • Windows OS for Photoshop CS6 Extended?

    I purchased Adobe Photoshop CS6 Extended, Student and Teacher version then noticed is requires Windows XP or WIndows 7 (with service pack).  I am still running Windows Vista--can I use the software with VIsta?

  • Dv6-3070ca keyboard

    I'm wondering what kind of keyboard does the dv6-3081ca come with? Is it a US (english localized) keyboard, or is it a french-localized keyboard?