Olá!
Estou com um server apache instalado 1.3.31 rodando em um RH 9.0 que já está tb 
instalado client oracle preciso agora instalar o plsql, mas não estou 
conseguindo... baixei o pacote, e segui as regras do README dele mas gera muito 
erros... tipo:
======== Error Output for sanity check ========
cd ..; gcc  -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT -I./lib/expat-lite 
-DNO_DL_NEEDED `./apaci`     -o helpers/dummy helpers/dummy.c   -lm
/usr/bin/ld: unrecognized option '--eh-frame-hdr'
/usr/bin/ld: use the --help option for usage information
collect2: ld returned 1 exit status
make: *** [dummy] Error 1
============= End of Error Report =============
make -f $ORACLE_HOME/rdbms/demo/demo_rdbms.mk showvars
make: /rdbms/demo/demo_rdbms.mk: Arquivo ou diretório não encontrado
make: *** Sem regra para processar o alvo `/rdbms/demo/demo_rdbms.mk'.  Pare.
[EMAIL PROTECTED] make
===> src
make[1]: Entrando no diretório `/usr/local/src/apache_1.3.31'
make[2]: Entrando no diretório `/usr/local/src/apache_1.3.31/src'
make[2]: *** Sem regra para processar o alvo `all'.  Pare.
make[2]: Saindo do diretório `/usr/local/src/apache_1.3.31/src'
make[1]: ** [build-std] Erro 2
make[1]: Saindo do diretório `/usr/local/src/apache_1.3.31'
make: ** [build] Erro 2
Alguém tem algo que mostra como instalar esse módulo passa a passao?
Obrigado,
Rafael.
PS: esse é o README dele
 To install module:

0. To use this stuff you need oracle client and OCI libraies installed on the
   macine running web server.
1. Copy mod_plsql.c and mod_plsql.h to <apache_source_root>/src/modules/extra
   and (optionally) mod_include.c to <apache_source_root>/src/modules/standard
2. Patch your apache distribution with apache.diff.
    # cd apache-1.3.12/
    # patch -p1<../mod_plsql/apache.diff
   This patch was made against apache 1.3.12, but will probably
   work against any 1.3.x version. It adds a function nessasary
   for owa_sec.set_protection_realm.
3. Run
    # CFLAGS="-DDEBUG_PLSQL=0" \
        OPTIM="-O2" \
        LDFLAGS="-L$ORACLE_HOME/lib/ -L$ORACLE_HOME/rdbms/lib" \
        LIBS="$ORACLE_HOME/rdbms/lib/ssdbaed.o $ORACLE_HOME/rdbms/lib/kpudfo.o 
$ORACLE_HOME/lib/nautab.o $ORACLE_HOME/lib/naeet.o $ORACLE_HOME/lib/naect.o 
$ORACLE_HOME/lib/naedhs.o -lnetv2 -lnttcp -lnetwork -lncr -lclient -lvsn 
-lcommon -lgeneric -lmm -lnlsrtl3 -lcore4 -lnlsrtl3 -lcore4 -lnlsrtl3 -lnetv2 
-lnttcp -lnetwork -lncr -lclient -lvsn -lcommon -lgeneric -lepc -lnlsrtl3 
-lcore4 -lnlsrtl3 -lcore4 -lnlsrtl3 -lclient -lvsn -lcommon -lgeneric -lnlsrtl3 
-lcore4 -lnlsrtl3 -lcore4 -lnlsrtl3 -lnsl -lm -ldl -lm -ldl -lnetv2 -lnttcp 
-lnetwork -lncr -lnetv2 -lnttcp -lnetwork -lncr -lnetv2 -lnttcp -lnetwork -lncr 
-lnetv2 -lnttcp -lnetwork -lncr -lnetv2 -lnttcp -lnetwork -lncr -lsql -lsql" \
        configure --prefix=/usr --activate-module=src/modules/extra/mod_plsql.c

        DEBUG_PLSQL = [0-9]

    Note:
        List of Oracle Client libraries might be different for your Oracle
        version. Hack something like $ORACLE_HOME/rdbms/demo/demo_rdbms.mk or
        whatever make file was provided to you. What I did, was find the target
        for building regular applications for oracle, make similar one, but
        instead of actually buildng anything just echo all related variables.
        Then just "$ make .... <your_target_name>"
    Example:
        add to demo_rdbms.mk
        showvars:
                @echo LIBS=$(OCISHAREDLIBS) $(LIBS)
                @echo INCLUDES=$(INCLUDE)
                @echo LDFLAGS=$(LDFLAGS)
        and hen run
          # make -f $ORACLE_HOME/rdbms/demo/demo_rdbms.mk showvars
        this will give you all needed settings
4. Run
    # make;make install
5. Run ioa.sql as system. It will create all nesasary packages and public
   synonyms for them. You can also hack *.sql scripts, if you want to grant
   access to these packages on per-user basis. There is also alternative
   htp package implementation and htf package donated by Rudy Demeulenaere.
   They are closer to Oracle's semantics, but are slightly less efficeint
   as a result. To enable them see comments in ioa.sql.


---------------------------------------------------------------------------
Esta lista é patrocinada pela Conectiva S.A. Visite http://www.conectiva.com.br

Arquivo: http://bazar2.conectiva.com.br/mailman/listinfo/linux-br
Regras de utilização da lista: http://linux-br.conectiva.com.br
FAQ: http://www.zago.eti.br/menu.html

Responder a