OCCI compilation issue with gcc-3.2.3 on Red Hat ES 2.1

Hello,
If I use OCCI of Oracle 10g and try to compile it with gcc-3.2.3 on Red Hat ES 2.1, I get linking errors.
The same works if I try to compile OCCI on Red Hat ES 3.0.
Any clues about how to compile the OCCI on RedHat ES/AS 2.1?

Yes, I downloaded the OCCI for gcc-3.2.3.
As I said it works on Red Hat 3.0.
I want to compile it on Red Hat ES 2.1.
I have installed gcc-3.2.3 on Red Hat ES 2.1. But the occi compilation wont succeed onto it.

Similar Messages

  • Installing issues with Oracle Database 11g R1 on Red Hat Linux

    Hi,
    I am installing Oracle Database 11g on Red Hat Linux.
    Version of the OS:Linux 2.6.9-5.ELsmp #1 SMP Wed Jan 5 19:30:39 EST 2005 i686 i686 i386 GNU/Linux
    I have installed XManager on my PC to access the runtime installer in Graphical mode.
    But once i click the installer file from Xmanager, it asks if the user wants to run it in terminal or simply run.
    I selected the run in terminal and it starts the terminal where the initial pre-requisite checks are done i.e swap memory,temp and display.
    The screen disappers and the graphical OUI never turns up...
    Any pointer would be helpful.
    Regards
    Prabal

    Try the following:
    1. logon to the linux using root and issue the following command - xhost+
    2. Open xterm in the Xmanager and logon to the linux using oracle user.
    3. in the installation directory issue ./runInstaller.
    Oded
    [www.dbsnaps.com]
    [www.orbiumsoftware.com]

  • Issue with gcc compiler installation

    Hi ,
    To install the C Compiler(gcc compiler) on Solaris 9.0 ,I unzipped the following tar files SUNW0gccfss.tar.bz2 and gccfss_src.tar.bz2 but after that when I type gcc ,I get that "SUNW0gccfss is not installed".
    Even I used cc command to compile the C Program but I get this error message "language optional software package not installed"
    Please advise.
    Thanks
    Bala

    For Sun Studio tools you can download from http://developers.sun.com/sunstudio/downloads/index.jsp . Note the "cc" is /usr/ucb/cc normal shell script which will pickup the sun studio compiler if its installed. If its not present then it throws the error messaget "language optional software package not installed"
    If you are looking for compiling with GCC. Grab hold of the Solaris Companion CD from http://www.sun.com/software/solaris/freeware/ and install the all the gcc releated . The CD has "installer" script to install all the development packages.

  • How to compile .so with gcc?

    I want to make a .so file (library for linux). How could I compile with gcc to have this output. My input file is in .c.
    Thanx

    gcc -I/$JAVA_HOME/include -I/$JAVA_HOME/include/linux -shared myCfile.c -o libMYLIB.so
    //Anders ;-D

  • [solved] unable to compile mame with gcc 4.7.2

    I tried to compile mame :
    http://mamedev.org/downloader.php?file= … e0147s.zip
    but it doesn't work, it fails with gcc 4.7.2 :
    Compiling src/emu/cpu/tms32051/tms32051.c...
    Generating TMS57002 source file...
    obj/sdl/build/tmsmake src/emu/cpu/tms57002/tmsinstr.lst obj/sdl/emu/cpu/tms57002/tms57002.inc
    Compiling src/emu/cpu/tms57002/tms57002.c...
    {entrée standard}: Messages de l'assembleur:
    {entrée standard}:3066: Avertissement: fin du fichier n'est pas à la fin de la ligne; nouvelle ligne insérée
    {entrée standard}: Erreur: ouverture CFI à la fin du fichier; directive .cfi_endproc manquante
    gcc: erreur interne du compilateur: Processus arrêté (program cc1plus)
    Veuillez soumettre un rapport complet d'anomalies,
    avec le source pré-traité si nécessaire.
    Consultez <https://bugs.archlinux.org/> pour plus de détail.
    make: *** [obj/sdl/emu/cpu/tms57002/tms57002.o] Erreur 4
    I want to know how the official packager ( Sergej Pupykin ) succeeded to compile mame ? ( sdlmame package ) :
    https://www.archlinux.org/packages/comm … 6/sdlmame/
    Do I need an older version of gcc ?
    Last edited by Potomac (2012-12-21 20:07:28)

    I found a solution by installing an older version of gcc ( 4.4.5 ) and I can compile now mame,
    it's a known problem about gcc and mame, the source code is not compatible with gcc 4.7.2 ( and even with some older releases ) :
    http://forums.gentoo.org/viewtopic-t-84 … 0473b82412
    check the first comment here ( padremayi ), same error :
    https://aur.archlinux.org/packages/sdlm … setlang=fr
    the solution is to use gcc 4.4.5 version,
    you need also to patch one file in gcc 4.4.5 :
    --- gcc/config/i386/linux-unwind.h 2009-04-10 01:23:07.000000000 +0200
    +++ gcc/config/i386/linux-unwind.h 2012-12-21 03:10:27.000000000 +0100
    @@ -133,9 +133,9 @@
    struct rt_sigframe {
    int sig;
    - struct siginfo *pinfo;
    + siginfo_t *pinfo;
    void *puc;
    - struct siginfo info;
    + siginfo_t info;
    struct ucontext uc;
    } *rt_ = context->cfa;
    /* The void * cast is necessary to avoid an aliasing warning.
    edit : the solution was to increase ram memory in virtualbox, with gcc 4.7.2 and 1.5 Gb ram I can compile mame without errors, but with 1 Gb ram the error occurs
    maybe it's a bug in gcc 4.7.2 ( because with gcc 4.4.5 I don't need to increase ram )
    Last edited by Potomac (2012-12-25 12:09:52)

  • Help with installing pre-requisite packages on Red Hat Linux

    Having issue with installing packages with yum
    OS is RHEL 6 and following package which are prerequisites for Oracle Fusion Middleware install on Red Hat Linux 6
    uname details as follows
    2.6.32-220.el6.x86_64 #1 SMP Wed Nov 9 08:03:13 EST 2011 x86_64 x86_64 x86_64 GNU/Linux
    Example error: yum install gives error as follows for all packages.
    No package compat-libcap1-1.10-1 available
    Need to install following packages (as mentioned in the prerequisites)
    binutils-2.20.51.0.2-5.28.el6
    compat-libcap1-1.10-1
    compat-libstdc++-33-3.2.3-69.el6 for x86_64
    compat-libstdc++-33-3.2.3-69.el6 for i686
    gcc-4.4.4-13.el6
    gcc-c++-4.4.4-13.el6
    glibc-2.12-1.7.el6 for x86_64
    glibc-2.12-1.7.el6 for i686
    glibc-devel-2.12-1.7.el6 for i686
    libaio-0.3.107-10.el6
    libaio-devel-0.3.107-10.el6
    libgcc-4.4.4-13.el6
    libstdc++-4.4.4-13.el6 for x86_64
    libstdc++-4.4.4-13.el6 for i686
    libstdc++-devel-4.4.4-13.el6
    libXext for i686
    libXtst for i686
    FYI: If this forum is not appropriate please let me know appropriate forum and shall repost there.

    Hey,
    Normally I use YUM : http://taliphakanozturken.wordpress.com/2012/03/17/how-to-use-yum-to-install-rpm-packages-with-dependencies/
    Let me know if this is what are you looking for.
    I hope it helps you,
    Thiago Leoncio.

  • Oracle Linux 6.2 with RH compatible kernel .versus. Red Hat Linux 6.2 diff?

    Hello everyone
    * assume that I booted Oracle Linux 6.2 with a Red Hat Compatible Kernel - as opposed to booting the Oracle Linus 6.2 with UEK R1 or UEK R2 kernels *
    I am interested in any feature differences between the two OS relating to: functionality, reliability, performance, stability and tools.
    The reason I ask is that my employer is trying to figure out if OL 6.2 with a RH compatible kernel is identical to the RHEL 6.2 OS, if we excluded the Oracle UEK and Oracle clustering extra functionality.
    This OS will not be used to run Oracle 11g R2 database, this is to be used for any other Linux based non-database applications (such has running Java, JDBC, Apache, C/C++, etc).
    many thanks
    Yuri

    yurib wrote:
    So now I can tell them to use Oracle Linux 6.x with a RH compatible kernel for all those non-DB systems and use OL 6.x with UEK for Oracle 11g database.
    And I remember there was (still is?) a third kernel, which does not contain new features or performance enhancements, but only bug fixes for the RH compatible kernel.
    I am not sure if you are going to need it, but it can be very useful in some cases. For example, if there is a bug in the RH kernel, and you don't want to run the UEK line as you want to stick to 100% strict RHEL compatibility, then Oracle can put the fix into this 3rd bug-fix only RH compatible kernel series.
    (For me, I've set up dual-boot UEK & standard RHEL kernels on my machines and never have never encountered issues or bugs.)
    >
    Many thanks, as always
    Yuri

  • "Could not start Agent" with SunMC 3.6.1 on Red Hat Enterprise release 4

    Hi everyone,
    I'm trying to install the Linux agent from the SunMC 3.6.1 installation dvd on a RedHat system (kernel 2.6). The installation seems to go fine, but while seting up the agent I recieve the following eror:
    /opt/SUNWsymon/base/sbin/xget: error while loading shared libraries: libxcfg.so.1.0: cannot open shared object file: No such file or directory
    /opt/SUNWsymon/base/sbin/xput: error while loading shared libraries: libxcfg.so.1.0: cannot open shared object file: No such file or directory
    Naturally, in the end you get the message "Could not start Agent"...
    Has anybody experienced this with a RedHat system or any other Linux system?
    Best Regards,
    Emerald

    Hi!
    I am trying to install SunMC 4.0 agent in a Red Hat Enterprise Linux AS release 4 (whith a SunMC server installed in a Solaris 10 platform).
    I had installed the agent in the Red Hat, but the agent did not start.
    I got this messages from the agent.log ( the same messages that Emerald)
    [00000000 0046 ]info May 14 10:19:25 agent Channel already exists: syslog......................
    [00000001 0048 ]info May 14 10:19:25 agent using ip mode for URL addressing....................
    [00000002 003b ]info May 14 10:19:25 agent enabling timed jobs.................................
    [00000003 004d ]info May 14 10:19:25 agent subagent registry successfully loaded...............
    [00000004 005a ]info May 14 10:19:25 agent loading trap actions: subagent-manager-trap-action..
    [00000005 0040 ]info May 14 10:19:25 agent startLegacySubagents: <>............................
    [00000006 003e ]info May 14 10:19:25 agent activating MIB objects..............................
    [00000007 0047 ]info May 14 10:19:25 agent *** shutting down subagents ***.....................
    [00000008 005d ]error May 14 10:19:25 agent stopemd: action command script em-daemon.sh not found.
    [00000009 007b ]error May 14 10:19:25 agent invalid dictionary entry: internal outBoundTrap in b
    ase-agent.x(221) at token '???'............................................................................
    [0000000a 0042 ]error May 14 10:19:25 agent *** aborting execution ***..........................
    [0000000b 0046 ]info May 14 10:20:29 agent Channel already exists: syslog......................
    [0000000c 0048 ]info May 14 10:20:29 agent using ip mode for URL addressing....................
    [0000000d 003b ]info May 14 10:20:29 agent enabling timed jobs.................................
    [0000000e 004d ]info May 14 10:20:29 agent subagent registry successfully loaded...............
    [0000000f 005a ]info May 14 10:20:29 agent loading trap actions: subagent-manager-trap-action..
    [00000010 0040 ]info May 14 10:20:29 agent startLegacySubagents: <>............................
    [00000011 003e ]info May 14 10:20:29 agent activating MIB objects..............................
    [00000012 0047 ]info May 14 10:20:29 agent *** shutting down subagents ***.....................
    [00000013 005d ]error May 14 10:20:29 agent stopemd: action command script em-daemon.sh not found
    Had anyone resolve this isue?? or had any ideas to resolve it??
    Thanks in advance.
    maza

  • Compile issues with cross-mipsel-linux-gnu-gcc

    I'm trying to set up some sort of cross-compilation environment in order to compile software for a MIPS device.
    I installed cross-mipsel-linux-gnu-gcc (4.7.2-1) along with cross-mipsel-linux-gnu-binutils (2.22-1). Then I tried to compile a simple Hello World, and the result was as follows:
    [mcmlxxxvi@deepspace1 hello-world]$ cat hello.c
    #include <stdio.h>
    int main()
    printf("Hello World!\n");
    return 0;
    [mcmlxxxvi@deepspace1 hello-world]$ mipsel-linux-gnu-gcc hello.c
    hello.c:1:19: fatal error: stdio.h: No such file or directory
    compilation terminated.
    [mcmlxxxvi@deepspace1 hello-world]$ mipsel-linux-gnu-gcc hello.c -I/usr/include
    /usr/lib/cross-mipsel-linux-gnu/lib/gcc/mipsel-linux-gnu/4.7.2/../../../../mipsel-linux-gnu/bin/ld: cannot find crt1.o: No such file or directory
    /usr/lib/cross-mipsel-linux-gnu/lib/gcc/mipsel-linux-gnu/4.7.2/../../../../mipsel-linux-gnu/bin/ld: cannot find crti.o: No such file or directory
    /usr/lib/cross-mipsel-linux-gnu/lib/gcc/mipsel-linux-gnu/4.7.2/../../../../mipsel-linux-gnu/bin/ld: cannot find crtbegin.o: No such file or directory
    /usr/lib/cross-mipsel-linux-gnu/lib/gcc/mipsel-linux-gnu/4.7.2/../../../../mipsel-linux-gnu/bin/ld: cannot find -lgcc
    /usr/lib/cross-mipsel-linux-gnu/lib/gcc/mipsel-linux-gnu/4.7.2/../../../../mipsel-linux-gnu/bin/ld: cannot find -lc
    /usr/lib/cross-mipsel-linux-gnu/lib/gcc/mipsel-linux-gnu/4.7.2/../../../../mipsel-linux-gnu/bin/ld: cannot find -lgcc
    /usr/lib/cross-mipsel-linux-gnu/lib/gcc/mipsel-linux-gnu/4.7.2/../../../../mipsel-linux-gnu/bin/ld: cannot find crtend.o: No such file or directory
    /usr/lib/cross-mipsel-linux-gnu/lib/gcc/mipsel-linux-gnu/4.7.2/../../../../mipsel-linux-gnu/bin/ld: cannot find crtn.o: No such file or directory
    collect2: error: ld returned 1 exit status
    I know I generally need a compatible glibc build, but a) there isn't a package pre-built for MIPS as the compiler, and b) there is no mention of glibc in either gcc or binutils' AUR pages. So I thought that these two packages were somehow supposed to be sufficient - and they aren't.
    I found a tutorial on setting up cross-compilation for MIPS and I tried to build libc, but as I used the gcc and bunutils AUR pacakges instead of going straight for the source, and, probably, as the tutorial is geared towards slightly older versions, I did not succeed. configure produced only a config.log and I wasn't able to make.
    So, how are cross-mipsel-linux-gnu-gcc and cross-mipsel-linux-gnu-binutils supposed to be used? How do I need to set up my environment in order to be able to invoke the MIPS gcc the same way as my regular gcc?
    Thanks in advance.

    The problem is gone after going to Kernel 39 in testing.

  • Compilation issues with shared swc

    I am often having error messages when I compile my project, that are often fixed with simply doing a Project clean.  although, sometimes it requires to recompile certain graphic libraries.
    I get this error most of the time "Unable to convert LinkageName to MovieClip" when instanciating a graphic. Or sometimes it can't find a class that is in another library
    Is there something that we should do to our projects to change this? I am worried that when I compile an appStore IPA, I will have one of those errors slip and render my app useless.
    All my libraries are merged with code and there is some Runtime sharing in my graphic swc's, although the issue is sometimes not even related to that
    Thanks in advance for the help

    The weird name you mentioned, is that the server name listed in your mail profile in Outlook?  If so, that is to be expected as Exchange 2013 uses a long string for server names.  For example, on my profile for my Exchange 2013 server I see this
    "3a5b584b-5f64-4e82-abde-ac32da667965@<my domain>".
    So let me summarize what you said above to make sure we are all on the same page:
    1) Open Shared mailbox by itself it fails
    2) Add the mailbox as an additional mailbox it works.
    How do you want to connect to this mailbox?  Do you want #1 to work where you open just that mailbox as a profile.  If you do, see this answer as it might work for what you are attempting -
    http://social.technet.microsoft.com/Forums/en-US/64fc973b-2825-4991-8fa3-3d08c6a8df93/outlook-2010-cant-create-a-new-profile-with-a-shared-mailbox.
    JAUCG - Please remeber to mark replies as helpful if they were or as answered if I provided a solution.

  • Two compile issues with Sun Studio 12 @ x86(_64 = amd64)

    The following two issues are absent on Solaris 10 SPARC and all previous Sun Studio versions (8 to 11), but present on both amd64 Solaris 10 and Linux 2.6 versions:
    1. mozilla.org's Spidermonkey "JavaScript" (ECMAscript) can't be compiled with it: in file jsinterp.c an endless loop is entered by the optimizer in level -xO1 and higher (!). With no optimization, linking is impossible (unresolved symbols from jsinterp.o), which hints to defunct output.
    2. the optimizer (ube) is crashing in sources with a switch with many many case labels in optimization level -xO3 and higher with a segfault.

    I have trouble to seperate a reasonable (example) source out of our complex sources showing the second issue --- what I can already tell is, that the following special pragma has to do with it (while I'm now in doubt that the each 256 case labels per switch, two switches in an if else clause have to do with it):
    #pragma opt 0 (func_name)
    Own1 Own2 func_name(...)
    The buggy versions I can tell you: they are
    on Solaris 10 amd64:
    /opt/SUNWspro/bin/cc -V
    cc: Sun C 5.9 SunOS_i386 2007/05/03
    /opt/SUNWspro/prod/bin/ube -V
    ube: Sun Compiler Common 12 SunOS_i386 2007/05/03
    on GNU/Linux:
    cc -V
    cc: Sun C 5.9 Linux_i386 2007/05/03
    ube -V
    ube: Sun Compiler Common 12 Linux_i386 2007/05/03
    The only important compiler option in this regard seems to be the optimization level, but the situation is complex too, if others should be also involved. I will investigate further...

  • OCCI compilation issue -

    Hello Folks,
    I hv VC++ 6.0 and Oracle 10g, I want to connect to Oracle DB, Compliation is successful, But while executing I'm getting Runtime Error!
    I'm getting this error on a statement: conn = env->createConnection ("username", "password","//localhost:1521/XE");     
    Here's code snippet:
    #pragma comment(lib, "oraocci10.lib")
    #define WIN32COMMON
    #include <stdlib.h>
    #include <occi.h>
    #include <iostream>
    class lobarray
    private:
    Environment *env;
    Connection *conn;
    public:
    lobarray (string user, string passwd, string db)
         cout <<"connecting DB" << endl;
    env = Environment::createEnvironment();
         cout <<"ENV set" << endl;
    conn = env->createConnection ("admin", "admin","//localhost:1521/XE");     
         cout <<"conneted " << endl;
    I'm stuck with this issue, please help me out, i'm in a urgernt need,
    anything will work either sample code, links, any guidance

    Two times the same post ...
    look at your first/second post {message:id=3341557}

  • Compilation problem with GCC 3.3.2 in solaris 10

    Hi,
    Iam using solaris 10 SUNW,UltraAX-i2. Iam trying to compile tripwire binaries tw_ASR_1.3.1_SRC. Iam using gcc 3.3.2, later I installed the libiconv package.
    on reading the documentation from sunfreeware i modified the file mkheaders.conf putting the line SHELL=/bin/sh in the directory
    usr/local/lib/gcc-lib/sparc-sun-solaris10/3.3.2/install-tools
    The PATH and LD_LIBRAY_PATH are like this
    # echo $PATH
    /usr/local/bin:/etc:/usr/sbin:/usr/bin:/usr/ccs/bin:/usr/ucb:/bin:/sbin/:/usr/sb
    in:/usr/man:/usr/include/
    # echo $LD_LIBRARY_PATH
    /usr/local/lib:/usr/X/lib:/usr/lib:/usr/ucblib:/lib:/usr/ccs/lib:/etc/lib:/usr/d
    t/lib
    Once I changed the configuration changes in the tripwire source. Iam trying to compile make & make install. The output of the make is like this
    # make
    (cd util; make CC=gcc CFLAGS="-O" \
    LDFLAGS="-ldl" CPP="gcc -E" SHELL=/bin/sh all)
    ### Ignore warnings about shift count negative/too large on line 36
    gcc -O -ldl byteorder.c -o byteorder
    byteorder.c: In function `main':
    byteorder.c:36: warning: left shift count >= width of type
    byteorder.c:25: warning: return type of `main' is not `int'
    (./byteorder; cat ./ntohl.h) > ../include/byteorder.h
    gcc -O -ldl types.c -o types
    types.c: In function `main':
    types.c:29: warning: return type of `main' is not `int'
    /bin/sh ./types.sh "gcc -E" > ../include/inode.h
    (cd src; make CC=gcc CFLAGS="-O" LIBS="" \
    LDFLAGS="-ldl" CPP="gcc -E" SHELL=/bin/sh \
    YACC="yacc" LEX="lex" all)
    /bin/sh help.sh help.txt > help.c
    gcc -O -c config.parse.c
    gcc -O -c main.c
    main.c:704:2: warning: no newline at end of file
    gcc -O -c list.c
    gcc -O -c ignorevec.c
    gcc -O -c dbase.build.c
    gcc -O -c utils.c
    gcc -O -c preen.c
    gcc -O -c preen.interp.c
    gcc -O -c preen.report.c
    gcc -O -c nullsig.c
    gcc -O -c config.prim.c
    gcc -O -c dbase.update.c
    lex config.pre.l
    mv lex.yy.c config.lex.c
    yacc config.pre.y
    sed 's/lex\.yy\.c/config.lex.c/' < y.tab.c > config.pre.c
    rm y.tab.c
    gcc -O -c config.pre.c
    gcc -O -c help.c
    (cd ../sigs/md5; make CC="gcc" CFLAGS="-O -I. -I..")
    gcc -O -I. -I.. -c md5.c
    gcc -O -I. -I.. -c md5wrapper.c
    (cd ../sigs/snefru; make CC="gcc" CFLAGS="-O -I. -I..")
    gcc -O -I. -I.. -c snefru.c
    (cd ../sigs/crc32; make CC="gcc" CFLAGS="-O -I. -I..")
    gcc -O -I. -I.. -c crc32.c
    (cd ../sigs/crc; make CC="gcc" CFLAGS="-O -I. -I..")
    gcc -O -I. -I.. -c crc.c
    (cd ../sigs/md4; make CC="gcc" CFLAGS="-O -I. -I..")
    gcc -O -I. -I.. -c md4.c
    gcc -O -I. -I.. -c md4wrapper.c
    (cd ../sigs/md2; make CC="gcc" CFLAGS="-O -I. -I..")
    gcc -O -I. -I.. -c md2wrapper.c
    gcc -O -I. -I.. -c md2.c
    (cd ../sigs/sha; make CC="gcc" CFLAGS="-O -I. -I..")
    gcc -O -I. -I.. -c sha.c
    gcc -O -I. -I.. -c shawrapper.c
    (cd ../sigs/haval; make CC="gcc" CFLAGS="-O -I. -I..")
    gcc -O -I. -I.. -c haval.c
    gcc -O -I. -I.. -c havalwrapper.c
    gcc -O -ldl -o tripwire config.parse.o main.o list.o ignorevec.o dbase.build.o
    utils.o preen.o preen.interp.o preen.report.o nullsig.o config.prim.o dbase.upd
    ate.o config.pre.o help.o ../sigs/md5/md5wrapper.o ../sigs/md5/md5.o ../sigs/s
    nefru/snefru.o ../sigs/crc32/crc32.o ../sigs/crc/crc.o ../sigs/md4/md4.o ../sigs
    /md4/md4wrapper.o ../sigs/md2/md2.o ../sigs/md2/md2wrapper.o ../sigs/sha/sha.o .
    ./sigs/sha/shawrapper.o ../sigs/haval/haval.o ../sigs/haval/havalwrapper.o
    gcc -O -ldl -o siggen siggen.c ../sigs/md5/md5wrapper.o ../sigs/md5/md5.o ../sig
    s/snefru/snefru.o ../sigs/crc32/crc32.o ../sigs/crc/crc.o ../sigs/md4/md4.o ../s
    igs/md4/md4wrapper.o ../sigs/md2/md2.o ../sigs/md2/md2wrapper.o ../sigs/sha/sha.
    o ../sigs/sha/shawrapper.o ../sigs/haval/haval.o ../sigs/haval/havalwrapper.o
    nullsig.o utils.o
    I think it is not showing any problem. But when I try to make install it is throwing some
    error like this. It was unable to find theinsta;; directory under /usr/local/bin. Manually I created the directory to test, it is throwing an error saying that bad file number.
    Can any one help me what could be the reason for this.
    # make install
    (cd util; make CC=gcc CFLAGS="-O" \
    LDFLAGS="-ldl" CPP="gcc -E" SHELL=/bin/sh all)
    (cd src; make CC=gcc CFLAGS="-O" LIBS="" \
    LDFLAGS="-ldl" CPP="gcc -E" SHELL=/bin/sh \
    YACC="yacc" LEX="lex" all)
    /usr/local/bin/install -d /usr/local/bin
    sh: /usr/local/bin/install: not found
    *** Error code 1
    make: Fatal error: Command failed for target `install'
    Sanjeev

    Unable to Deploy Toplink-EJB to Standalone OC4J (4605867)
    http://www.oracle.com/technology/products/jdev/htdocs/10.1.3.0.3/early_access_addendum.htm#dep1

  • Java 6 Compiler issue with Windows 7

    Hi,
    Sorry for the newbie question. I am very new to Java and am currently reading Sams Teach Yourself Java 6 and am having a problem with the JDK 6 compiler. I wrote the beginner program "Hello Username" to test if the compiler is working and am getting the following configuration error when i go to compile it. 'javac' is not recognized as an internal or external command, operable program or batch file. I added the path C:\Program Files\Java\jdk1.6.0_01\bin to the PATH system variable as the book suggested but it did not change anything. What am I missing? The book was published in 2007 and does not include Windows 7. How can I fix this and get it running?
    Thanks for any help you can offer.
    Casey

    At first you have to sucessfully run the command
    java -versionin a DOS console. if the output is something like
    java version "1.6.0_15"
    Java(TM) SE Runtime Environment (build 1.6.0_15-b03)
    Java HotSpot(TM) Client VM (build 14.1-b02, mixed mode, sharing)your problem is gone.
    Type in this console th command
    pathand there you have to find your path setting
    ...;C:\Program Files\Java\jdk1.6.0_01\bin;...In general you will have a environment setting JAVA_HOME=C:\Program Files\Java\jdk1.6.0_01 and the path has a
    ...;%JAVA_HOME%\bin;...

  • JSP Compilation Issue with Tomcat 4.0.6

    Hi There,
    I've been checking the following issue online for sometime but I just can't seem to figure what is wrong with the server setup. I've this very simple JSP page processing the form variables submitted to an action page which is another JSP page. Thecode segement in the target JSP is like this;
    if(request.getParameter("contactUsSubmit")!=null)
    }Whenever I try to use request.getParameter("XYZ") in the target page just like above, I get following error from Tomcat;
    Apache Tomcat/4.0.6 - HTTP Status 500 - Internal Server Error
    type Exception report
    message Internal Server Error
    description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request.
    exception
    javax.servlet.ServletException: org/apache/jasper/runtime/JspException
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:481)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
         at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:98)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:176)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:172)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.ajp.tomcat4.Ajp13Processor.process(Ajp13Processor.java:458)
         at org.apache.ajp.tomcat4.Ajp13Processor.run(Ajp13Processor.java:551)
         at java.lang.Thread.run(Thread.java:534)
    root cause
    java.lang.NoClassDefFoundError: org/apache/jasper/runtime/JspException
         at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:463)
         at org.apache.jsp.contact$jsp._jspService(contact$jsp.java:174)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:201)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
         at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:98)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:176)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:172)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.ajp.tomcat4.Ajp13Processor.process(Ajp13Processor.java:458)
         at org.apache.ajp.tomcat4.Ajp13Processor.run(Ajp13Processor.java:551)
         at java.lang.Thread.run(Thread.java:534)
    When I comment the code fragment, it works. It is not about what is in the if statment is true, I can assure you. Consider it as simple output to ease your mind.
    Any ideas why this might be happening? I'vve tried the same code with Resin 2.x and Tomcat 5.5 , it works just fine. Do you think there is something missed with the Tomcat setup or the Tomcat version (4.0.6) on that specific server is no good?
    Any comments are greatly appreciated.
    Thanks in advance...
    Regards,
    Mert

    Hi There,
    As you said using equals would not work as it should be a valid String in order for the eqauls function to work.
    Unfortuantely I can't access the Servlet created or the log files. It has crossed my mind too but this is a setup by the service provider and they don't let you nose into their business but they ahvedone something wrong with their system as far I can think.
    I've wanted to print the output to the web but when i use the request.getParameter it just creates the error.
    Java service is provided optional and as any optional service it is not well supported so I need to make them some pointers. So any more ideas?
    Cheers,
    Mert

Maybe you are looking for