Compiling Apache with PERL module on Solaris 8
Hi there,
After the Richard's reply, I found the Apache sources on the intallation CD 2/2. And after a while I successful compile the apache WITH ITS STANDARD modules with the following command:
$ ./configure --prefix=/usr/apache \
--enable-module=most \
--enable-shared=max \
--with-layout=Solaris
$ make
$ make install
But the above "configure" does not compile the companion mod_perl. So, I tried:
... $ ./configure --prefix=/usr/apache \
--enable-module=most \
--enable-shared=/usr/src/apache/mod_perl/src/modules/perl/mod_perl.c \
--add-module=max \
--enable-shared=max \
--with-layout=Solaris
but the above command just copies the "mod_perl.c" to the diretory
"usr/src/apache/src/modules/extra"
missing the corresponding *.h
Then trying
$ make
The compilation fails because of ALL the
files on the directory
/usr/perl5/5.00503/sun4-solaris/CORE
are not found.
Any Hint?
Thanks in advance
C�sar
have you tried downloading the source from apache.org and compiling it?
ive installed apache on sol8 many times, but all from apache.. not from the cd..
alphademon.com
Similar Messages
-
Compiler failures with Studio 11 on Solaris 10 x64
The compiler gives me the following error when I try to compile the larger tests in my environment:
"Tests.cc", [main]:ube: error: Assert has been violated at '/set/venus_patch/builds.intel-S2/build.0509/intel-S2/lang/ube/opt/src/cfg.c 3150'.
I am using the following compilation command:
/opt/SUNWspro/bin/CC -xtarget=opteron -xarch=amd64 -xO0 -library=stlport4 [includes] -c -o obj/lib/Tests.o lib/Tests.cc
I get a different error if I change the optimization level to 2:
compiler(iropt) error: connect_labelrefs: undefined label L175 in main
And yet another message if I use no optimization option at all:
Assembler: Tests.cc
"/tmp/yabeAAAX7aqaq", line 20533 : Illegal subtraction in ... ".L209 - .L_y162"
Failure in /opt/SUNWspro/prod/bin/fbe, status = 0x7f00
Fatal Error exec'ing /opt/SUNWspro/prod/bin/fbe
My patches are up to date as of right now, according to smpatch:
smpatch analyzeNo patches required.
I am not running compilations in parallel. I have 4 GB free in my swap.
Any ideas?The machine came preinstalled with Solaris 10 and Studio 11. The compiler has been kept up to date by smpatch, as far as I can tell. I remember the update manager installing 120759 and 121018, for example.
Is this correct?
comptest> /opt/SUNWspro/bin/CC -V -O hello.cc
CC: Sun C++ 5.8 Patch 121018-11 2007/05/02
ir2hf: Sun Compiler Common 11 Patch 120759-14 2007/06/25
ube: Sun Compiler Common 11 Patch 120759-14 2007/06/25
/opt/SUNWspro/prod/bin/c++filt: Sun C++ 5.8 2005/10/13
ccfe: Sun C++ 5.8 Patch 121018-11 2007/05/02
iropt: Sun Compiler Common 11 Patch 120759-14 2007/06/25
ld: Software Generation Utilities - Solaris Link Editors: 5.10-1.486
Thanks for your prompt replies. -
Compilation Problem with Analog Modulation in Debug64 mod
I can compile and run the AMDemodulate program in the analog modulation toolkilt with Debug mode successfully.
However, I get the following link errors with Debug64 mod.
4 Project link errors
Undefined symbol 'ModtCreateSessionHandle' referenced in "AMDemodulation.c".
Undefined symbol 'ModtDestroySessionHandle' referenced in "AMDemodulation.c".
Undefined symbol 'ModtGetErrorString' referenced in "AMDemodulation.c".
Undefined symbol 'ModtAMDemodulate_DSB' referenced in "AMDemodulation.c".
Is there any configuration for analog module?
Thanks,
Cihan.Hello Culas,
We do not have a time line for upgrading the modulation toolkit for CVI over to 64-bit. We also do not have a suggested method to migrate to 64 bit because of the restrictions of Windows on Windows 64(cannot use 32 bit DLL within 64 bit programs).
Anthony F.
Product Marketing Engineer
National Instruments -
How to install Apache Web Server with PHP on Sun Solaris Sparc machine
Hi,
We are trying to install the Apache Web Server and the PHP package on a Sun Solaris Sparc machine running on SunOS 5.8. We are having compilation problems with the source code of both these packages.
Does anybody know if there are ready solaris packages for Apache and PHP available from where we can download and install instead of source code compilation?
Or any instructions / things to watch for when installing Apache with PHP (if anybody has tried installing Apache with PHP on Sun Solaris earlier) is most welcome.
Thanks,
HarishApache should be bundled along with Solaris check in "/var/apache" in Solaris 8 and Solaris 9
php is available at www.php.net
I found an old document for installing PHP maybe this will help.
Cheers
-Dhruva
+++++++++++++++++++++++++++++++++++++++++++++++++++++++Installing PHP 3.x for Apache 1.x.x on Solaris
Introduction
This document describes how to install PHP for Apache on Solaris.
You should have Apache installed before trying to install PHP.
If you want to use PHP with MySQL then you must install MySQL first.
Before we Begin
1. These instructions assume that you have Apache installed according to instructions.
Getting PHP
1. You must be logged in as root to perform this installation.
su root
2. I save all my downloads in:
/usr/local/dist
If you don't already have one, you may need to create that directory now:
mkdir /usr/local/dist
3. You can get PHP 3.0.14 from here(www.php.net).
cd /usr/local/dist
ftp ftp.php.net
cd pub/distributions
bin
get php-3.0.14.tar.gz
bye
Installing PHP
1. We will install PHP in /usr/local/build, but use a tricky tar command
to do it in on hit from the download directory:
cd /usr/local/dist
tar xvfz php-3.0.12.tar.gz -C ../build
Compiling PHP
1. First let's get where the action is:
cd /usr/local/build/php-3.0.14
2. You now have 3 options:
* Simple PHP install without MySQL - goto step 3
* Simple PHP install with MySQL - goto step 4
* Custom PHP install - goto step 5
3. Simple PHP install without MySQL. Next, jump to step 6.
./configure --with-apache=../apache_1.3.12
4. Simple PHP install with MySQL. MySQL must be installed before you can configure PHP to use it. I recommend that MySQL should always be reachable with /usr/local/mysql. Even if you install it else where you
should create a symbolic link from /usr/local/mysql. Otherwise the compiler can have problems finding the mysqlclient library. The command
should look like this:
./configure with-mysql=/usr/local/mysql with-apache=../apache_1.3.12
Next, jump to step 6.
5. Custom PHP install. Take a look at the available configuration directives by using this command:
./configure --help
6. Now we can make the PHP executable. This may take a while.
make
7. Now we install the PHP module with:
make install
Adding the PHP Module to Apache
1. Now we have to setup Apache to include the PHP module:
cd ../apache_1.3.12
2. Re-configure Apache to use the PHP module. You should use your previous Apache configure command along with the PHP activate module directive.
You can see your previous Apache configure command by doing:
cat config.status
You can configure Apache using the previous command with the added PHP module by doing:
./config.status --activate-module=src/modules/php3/libphp3.a
If you used the simple Apache install from instructions the command will look like this:
./configure prefix=/usr/local/apache activate-module=src/modules/php3/libphp3.a
3. Make and install Apache with PHP enabled:
make
4. We need to stop the server before installing the files:
/usr/local/apache/bin/apachectl stop
5. Now we can install the new binaries:
make install
6. Start apache again (now running the new php enabled version):
/usr/local/apache/bin/apachectl start
Setting Up PHP
1. We have to tell Apache to pass certain file extensions to PHP. We do this in Apache's httpd.conf file.
cd /usr/local/apache/conf
2. Edit the httpd.conf file. If you do a search for php you will find a couple of commented out lines telling Apache to use the PHP module. You should uncomment them to look like this.
AddType application/x-httpd-php3 .php3
AddType application/x-httpd-php3-source .phps
3. I prefer to use the extension .phtml, you can use whatever extension you like (even .html) by adding lines to httpd.conf like this:
AddType application/x-httpd-php3 .phtml
Check that it Works
1. We have to restart Apache to make these changes take effect on the running server.
cd /usr/local/apache/bin
./apachectl restart
2. Apache should now be running with PHP enabled. The server version should include PHP/3.0b2.
./apachectl status
Apache Server Status for dev.synop.com
Server Version: Apache/1.3.9 (Unix) PHP/3.0.12
Server Built: Oct 25 1999 00:37:07
3. Now it is time to test PHP with a page. The simplest thing to do is create a page called test.php3. My file is here. This file contains the
following text:
<?php phpinfo(); ?>
4. Point your browser at this file on the virtual host which you used:
http://localhost/test.php3 -
Apache + OWA perl interface configuration
hi !
does anyone of you folks have managed to run the ORACLE authentication over Apache OWA Perl module ?
i only have managed to run a PLSQL "helloworld" procedure when i supplied username and password in the httpd.conf
according to the README attached to OWA (Apache-OWA) there is a way to run a database supported authentication and application
supported authentication. can anyone post a httpd.conf with such options and some comments ?
if so please send me a BCC of it!
thanks
regards
max
nullThanks, Ron, for your help. I hadn't seen those particular references.
Why do you say I shouldn't use the shell concurrently with my perl application? Unless I'm misinterpreting it, the second reference says that's fine , as long as the environment is created (and configured) in the application first. I create my environment as follows:
my $env = new DbEnv(0);
$env->set_cachesize(0, 64 * 1024, 1);
$env->open($envString, Db::DB_INIT_MPOOL|Db::DB_CREATE|Db::DB_INIT_LOCK|Db::DB_INIT_LOG|Db::DB_INIT_TXN|Db::DB_RECOVER, 0);
($envString is just the name of the enviroment directory. DB_CONFIG is the same as in the original post.)
It then says that, when the shell is opened in the created environment, it should display "Joined existing environment" but I get no such message and, then, when I try and access the same container, get:
$dbxml
dbxml> openContainer anthology.dbxml
PANIC: fatal region error detected; run recovery
stdin:1: open
Am I missing something?
I know that configuration in DB_CONFIG overwrites that in code but I assume this is only in the case of parameters that are set in both i.e. setting Db::DB_RECOVER won't be ignored because DB_CONFIG doesn't set it..? -
Apache with JServ or Tomcat?
What�s your preferences in relation with JSP web server: Apache with JServ module (or another want you considerer better) or Jakarta-tomcat?
I have used both, but I don�t know exactly which one I should use in my new job.
Thank you everybody and good luck!JServ, while fine in its time, is now outdated and will not be updated. If you want to use any features added to the JSP or Servlet API's in recent years, you need to use Tomcat.
-
Cannot install DBD::Oracle perl module with Oracle 11.2.0.3 client
Hi
I have been trying to install DBD::Oracle perl module on a Centos 5.7 server which is running Oracle client version 11.2.0.3. I have installed all dependencies prior to attempting installing the same and I am running into the following error -
/usr/bin/ld: skipping incompatible /app/utiba/oracle/client/lib//libclntsh.so when searching for -lclntsh
/usr/bin/ld: cannot find -lclntsh
collect2: ld returned 1 exit status
make: *** [blib/arch/auto/DBD/Oracle/Oracle.so] Error 1Here are the complete details of my attempt of installation of the perl module -
[root@tch1testuview1 DBD-Oracle-1.50]# perl Makefile.PL
Using DBI 1.52 (for perl 5.008008 on x86_64-linux-thread-multi) installed in /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/DBI/
Configuring DBD::Oracle for perl 5.008008 on linux (x86_64-linux-thread-multi)
Remember to actually *READ* the README file! Especially if you have any problems.
Installing on a linux, Ver#2.6
Using Oracle in /app/utiba/oracle/client
DEFINE _SQLPLUS_RELEASE = "1102000300" (CHAR)
Oracle version 11.2.0.3 (11.2)
Found /app/utiba/oracle/client/rdbms/lib/ins_rdbms.mk
Using /app/utiba/oracle/client/rdbms/lib/ins_rdbms.mk
Your LD_LIBRARY_PATH env var is set to '/app/utiba/oracle/client/lib:/lib:/usr/lib'
Reading /app/utiba/oracle/client/rdbms/lib/ins_rdbms.mk
Reading /app/utiba/oracle/client/rdbms/lib/env_rdbms.mk
WARNING: Oracle /app/utiba/oracle/client/rdbms/lib/ins_rdbms.mk doesn't define a 'build' rule.
WARNING: I will now try to guess how to build and link DBD::Oracle for you.
This kind of guess work is very error prone and Oracle-version sensitive.
It is possible that it won't be supported in future versions of DBD::Oracle.
*PLEASE* notify dbi-users about exactly _why_ you had to build it this way.
Found header files in /app/utiba/oracle/client/rdbms/public.
client_version=11.2
DEFINE= -Wall -Wno-comment -DUTF8_SUPPORT -DORA_OCI_VERSION=\"11.2.0.3\" -DORA_OCI_102 -DORA_OCI_112
Checking for functioning wait.ph
System: perl5.008008 linux builder10.centos.org 2.6.18-53.el5 #1 smp mon nov 12 02:14:55 est 2007 x86_64 x86_64 x86_64 gnulinux
Compiler: gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm
Linker: /usr/bin/ld
Sysliblist: -ldl -lm -lpthread -lnsl -lirc -lipgo
Oracle makefiles would have used these definitions but we override them:
CC: $(GCC)
CFLAGS: $(GFLAG) $(OPTIMIZE) $(CDEBUG) $(CCFLAGS) $(PFLAGS)\
$(SHARED_CFLAG) $(USRFLAGS)
[$(GFLAG) -O2 $(CDEBUG) $(CCFLAGS) -I/app/utiba/oracle/client/rdbms/demo -I/app/utiba/oracle/client/rdbms/public -I/app/utiba/oracle/client/plsql/public -I/app/utiba/oracle/client/network/public -DLINUX -D_GNU_SOURCE -D_LARGEFILE64_SOURCE=1 -D_LARGEFILE_SOURCE=1 -DSLTS_ENABLE -DSLMXMX_ENABLE -D_REENTRANT -DNS_THREADS -DLDAP_CM $(LPFLAGS) $(PLSQLNCGFLAGS) $(USRFLAGS)]
LDFLAGS: -o $@ $(LDOBJSZ) $(LDPATHFLAG)$(PRODLIBHOME) $(LDPATHFLAG)$(LIBHOME) $(LDPATHFLAG)$(LIBHOME)stubs/ $(LDPATHFLAG)$(LIBHOME) $(LLIBIRC)
[-o $@ -m32 -L/app/utiba/oracle/client/rdbms/lib/ -L$(LIBHOME) -L$(LIBHOME)stubs/ -L$(LIBHOME) -lirc -lipgo ]
Linking with -lclntsh -ldl -lm -lpthread -lnsl -lirc -lipgo -ldl -lm [from $(OCISHAREDLIBS)]
LD_RUN_PATH=/app/utiba/oracle/client/lib
Using DBD::Oracle 1.50.
Using DBD::Oracle 1.50.
Using DBI 1.52 (for perl 5.008008 on x86_64-linux-thread-multi) installed in /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/DBI/
Writing Makefile for DBD::Oracle
*** If you have problems...
read all the log printed above, and the README and README.help.txt files.
(Of course, you have read README by now anyway, haven't you?)
[root@tch1testuview1 DBD-Oracle-1.50]# make
Skip blib/lib/DBD/Oracle/Troubleshooting/Cygwin.pod (unchanged)
Skip blib/lib/DBD/Oracle.pm (unchanged)
Skip blib/lib/oraperl.ph (unchanged)
Skip blib/arch/auto/DBD/Oracle/Oracle.h (unchanged)
Skip blib/lib/DBD/Oracle/Troubleshooting/Vms.pod (unchanged)
Skip blib/lib/DBD/Oracle/Troubleshooting/Linux.pod (unchanged)
Skip blib/lib/DBD/Oracle/GetInfo.pm (unchanged)
Skip blib/lib/DBD/Oracle/Troubleshooting.pod (unchanged)
Skip blib/arch/auto/DBD/Oracle/dbdimp.h (unchanged)
Skip blib/lib/DBD/Oracle/Troubleshooting/Hpux.pm (unchanged)
Skip blib/arch/auto/DBD/Oracle/ocitrace.h (unchanged)
Skip blib/lib/Oraperl.pm (unchanged)
Skip blib/lib/DBD/Oracle/Troubleshooting/Sun.pod (unchanged)
Skip blib/lib/DBD/Oracle/Troubleshooting/Macos.pod (unchanged)
Skip blib/lib/DBD/Oracle/Troubleshooting/Aix.pod (unchanged)
Skip blib/lib/DBD/Oracle/Object.pm (unchanged)
Skip blib/lib/DBD/Oracle/Troubleshooting/Win64.pod (unchanged)
Skip blib/arch/auto/DBD/Oracle/mk.pm (unchanged)
Skip blib/lib/DBD/Oracle/Troubleshooting/Win32.pod (unchanged)
gcc -c -I/app/utiba/oracle/client/rdbms/public -I/app/utiba/oracle/client/rdbms/demo -I/app/utiba/oracle/client/rdbms/public -I/app/utiba/oracle/client/plsql/public -I/app/utiba/oracle/client/network/public -I/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/DBI -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -DVERSION=\"1.50\" -DXS_VERSION=\"1.50\" -fPIC "-I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE" -Wall -Wno-comment -DUTF8_SUPPORT -DORA_OCI_VERSION=\"11.2.0.3\" -DORA_OCI_102 -DORA_OCI_112 Oracle.c
gcc -c -I/app/utiba/oracle/client/rdbms/public -I/app/utiba/oracle/client/rdbms/demo -I/app/utiba/oracle/client/rdbms/public -I/app/utiba/oracle/client/plsql/public -I/app/utiba/oracle/client/network/public -I/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/DBI -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -DVERSION=\"1.50\" -DXS_VERSION=\"1.50\" -fPIC "-I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE" -Wall -Wno-comment -DUTF8_SUPPORT -DORA_OCI_VERSION=\"11.2.0.3\" -DORA_OCI_102 -DORA_OCI_112 dbdimp.c
dbdimp.c: In function ‘fb_ary_cb_alloc’:
dbdimp.c:324: warning: comparison is always false due to limited range of data type
dbdimp.c:325: warning: comparison is always false due to limited range of data type
dbdimp.c:326: warning: comparison is always false due to limited range of data type
dbdimp.c:327: warning: comparison is always false due to limited range of data type
dbdimp.c:328: warning: comparison is always false due to limited range of data type
dbdimp.c: In function ‘fb_ary_alloc’:
dbdimp.c:344: warning: comparison is always false due to limited range of data type
dbdimp.c:345: warning: comparison is always false due to limited range of data type
dbdimp.c:346: warning: comparison is always false due to limited range of data type
dbdimp.c:347: warning: comparison is always false due to limited range of data type
gcc -c -I/app/utiba/oracle/client/rdbms/public -I/app/utiba/oracle/client/rdbms/demo -I/app/utiba/oracle/client/rdbms/public -I/app/utiba/oracle/client/plsql/public -I/app/utiba/oracle/client/network/public -I/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/DBI -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -DVERSION=\"1.50\" -DXS_VERSION=\"1.50\" -fPIC "-I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE" -Wall -Wno-comment -DUTF8_SUPPORT -DORA_OCI_VERSION=\"11.2.0.3\" -DORA_OCI_102 -DORA_OCI_112 oci8.c
oci8.c: In function ‘ora_blob_read_mb_piece’:
oci8.c:1804: warning: comparison is always false due to limited range of data type
oci8.c: In function ‘describe_obj_by_tdo’:
oci8.c:3256: warning: comparison is always false due to limited range of data type
oci8.c: In function ‘ora_describe’:
oci8.c:3480: warning: comparison is always false due to limited range of data type
oci8.c: In function ‘ora_st_fetch’:
oci8.c:3953: warning: unused variable ‘imp_xxh’
Running Mkbootstrap for DBD::Oracle ()
chmod 644 Oracle.bs
rm -f blib/arch/auto/DBD/Oracle/Oracle.so
LD_RUN_PATH="/app/utiba/oracle/client/lib" gcc -shared -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic Oracle.o dbdimp.o oci8.o -o blib/arch/auto/DBD/Oracle/Oracle.so \
-L/app/utiba/oracle/client/lib/ -lclntsh -ldl -lm -lpthread -lnsl -lirc -lipgo -ldl -lm \
/usr/bin/ld: skipping incompatible /app/utiba/oracle/client/lib//libclntsh.so when searching for -lclntsh
/usr/bin/ld: cannot find -lclntsh
collect2: ld returned 1 exit status
make: *** [blib/arch/auto/DBD/Oracle/Oracle.so] Error 1I am sure that installing a previous(older) version of oracle client will fix this issue i.e. either 11.2.0.1 or older (that is tested) but I want to know if it is possible to resolve the above issue with a work around and not having to install a previous version.
Fyi.. I've tried to install DBD::Oracle version 1.24 and 1.50 but that doesn't seem to make any difference. I couldn't find any related thread either for this error so I desperately need a solution to the same(if any).
If anyone can help here, would really appreciate it or else, I will have no choice but to install previous version of oracle client.
Thanks
Edited by: 956308 on Aug 31, 2012 6:55 AM
Edited by: 956308 on Aug 31, 2012 6:57 AMContents of the response file:
oracle.install.responseFileVersion=http://www.oracle.com/2007/install/rspfmt_clientinstall_response_schema_v11_2_0
ORACLE_HOSTNAME=slc00caz
UNIX_GROUP_NAME=oracle
INVENTORY_LOCATION=/home/psadm1/oraInventory
SELECTED_LANGUAGES=en
ORACLE_HOME=/opt/oracle/psft/pt/oracle-client/11.2.0.x
ORACLE_BASE=/opt/oracle/psft/pt/oracle-client
oracle.install.client.installType=Custom
oracle.install.client.upgrading=false
oracle.install.client.customComponents=oracle.rdbms.util:11.2.0.3.0,oracle.javavm.client:11.2.0.3.0,oracle.sqlplus:11.2.0.3.0,oracle.dbjava.jdbc:11.2.0.3.0,oracle.rdbms.oci:11.2.0.3.0,oracle.xdk:11.2.0.3.0,oracle.network.aso:11.2.0.3.0,oracle.assistants.oemlt:11.2.0.3.0,oracle.network.client:11.2.0.3.0,oracle.odbc:11.2.0.3.0,oracle.dbdev:11.2.0.3.0
oracle.install.client.schedulerAgentHostName=
oracle.install.client.schedulerAgentPortNumber=
oracle.installer.autoupdates.option=SKIP_UPDATES
oracle.installer.autoupdates.downloadUpdatesLoc=
AUTOUPDATES_MYORACLESUPPORT_USERNAME=
AUTOUPDATES_MYORACLESUPPORT_PASSWORD=
PROXY_HOST=
PROXY_PORT=0
PROXY_USER=
PROXY_PWD=
PROXY_REALM= -
Trouble compiling sleepycat perl module for dbxml on win32
I'm trying to compile the perl module for Oracle DB XML with no luck so far. I've added nmake and cl to my path using the vcvars32 script. But running 'perl Makefile.PL -config.win32' produces:
Note (probably harmless): No library found for DB
Note (probably harmless): No library found for XML
Note (probably harmless): No library found for 2.3.10/lib
Note (probably harmless): No library found for -llibdb45
Writing Makefile for Sleepycat::Db
Note (probably harmless): No library found for DB
Note (probably harmless): No library found for XML
Note (probably harmless): No library found for 2.3.10/lib
Note (probably harmless): No library found for -llibdbxml23
Note (probably harmless): No library found for -llibdb45
Note (probably harmless): No library found for -lxerces-c_2
Note (probably harmless): No library found for -lxqilla10
Writing Makefile for Sleepycat::DbXml
Writing Makefile for Sleepycat::DbXml
That might not be a problem, although I think all of those libraries are included with the dbxml download. In any case, running nmake fails:
Microsoft (R) Program Maintenance Utility Version 9.00.21022.08
Copyright (C) Microsoft Corporation. All rights reserved.
nmake -f Makefile all -nologo
cp Db.pod ..\blib\lib\Sleepycat\Db.pod
cp DbEnv.pod ..\blib\lib\Sleepycat\DbEnv.pod
cp DbTxn.pod ..\blib\lib\Sleepycat\DbTxn.pod
cp Db.pm ..\blib\lib\Sleepycat\Db.pm
cp Dbc.pod ..\blib\lib\Sleepycat\Dbc.pod
cp Dbt.pod ..\blib\lib\Sleepycat\Dbt.pod
C:\Perl\bin\perl.exe C:\Perl\lib\ExtUtils\xsubpp -noprototypes -C++ -ty
pemap ../typemap -typemap C:\Perl\lib\ExtUtils\typemap Db.xs > Db.xsc && C:\Per
l\bin\perl.exe -MExtUtils::Command -e mv Db.xsc Db.c
cl -TP /EHsc -c -IC:/Berkeley DB XML 2.3.10/include -nologo -EHsc -GF
-W3 -MD -O1 -Gd -DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DPERL
IMPLICITCONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX -nologo
-DVERSION=\"2.003\" -DXS_VERSION=\"2.003\" "-IC:\Perl\lib\CORE" Db.c
DB
c1xx : fatal error C1083: Cannot open source file: 'DB': No such file or directo
ry
XML
c1xx : fatal error C1083: Cannot open source file: 'XML': No such file or direct
ory
include
c1xx : fatal error C1083: Cannot open source file: '2.3.10/include': No such fil
e or directory
Db.c
Db.xs(7) : fatal error C1083: Cannot open include file: 'db_cxx.h': No such file
or directory
Generating Code...
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN
\cl.EXE"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN
\nmake.EXE"' : return code '0x2'
Stop.
Any ideas what I'm doing wrong?I figured it out. I discovered that the developer tools weren't installed by default on the Darwin OS. I downloaded them from the Apple site, installed the dmg file and then installed the required Perl modules and then it worked beautifully.
The problem was that the modules couldn't make properly when being installed.
Fun Fun
Donna -
Help needed with perl Image::Magick module
I don't know if this is the right place to post this (it might belong in the Newbie corner instead), but I'll give it a try.
I need an Image::Magick Perl module (and a load of other modules, which I have found) for a program I desperately need. Now, the only thing I know about Perl is that v. 6 is supposed to be coming out soon - apart from that, I'm blank. The installation is giving me some problems.
The installation guide is somewhat ambiguous. It says:
Next, edit Makefile.PL and change LIBS and INC to include the appropriate path information to the required libMagick library. You will also need paths to JPEG, PNG, TIFF, etc. delegates if they were included with your installed version of ImageMagick.
In the Makefile.PL which comes with the package, these two are defined:
'INC' => '-I../ -I.. -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/X11R6/include/X11 -I/usr/include/libxml2',
'LIBS' => ['-L/usr/lib -lMagick -L/usr/X11R6/lib64 -L/usr/lib -ltiff -ljpeg -lpng -ldpstk -ldps -lXext -lXt -lSM -lICE -lX11 -lbz2 -lxml2 -lpthread -lm -lpthread'],
I haven't changed anything in them, because I haven't got the slightest idea what to change and to what. When I run the installation procedure ('perl Makefile.PL', 'make', and 'make test'), I get an error message during the test (but not before that). Here's the entire output from 'make test':
/bin/sh ../magick.sh PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/bzlib/*.t t/jng/*.t t/jpeg/*.t t/mpeg/*.t t/png/*.t t/ps/*.t t/tiff/*.t t/x/*.t t/xfig/*.t
/bin/sh: ../magick.sh: No such file or directory
make: *** [test_dynamic] Error 127
There is mention somewhere that one might compile the module together with ImageMagick or with Perl, but I don't think I'm ready for that...
Is there anyone skilled in Perl who can tell me what it is that I'm doing wrong, alternatively make a package file...?I've found two other packages that I needed in AUR, but when I run the make test for the program that I need (fontlinge), it still complains that it can't find the Image::Magick module. I already have the imagemagick package installed, though, that's why I thought I'd have to install and compile the perl module separately.
Here's the output from the 'make test' for fontlinge:
make -C modules
make[1]: Entering directory `/home/eyolf/temp/src/fontlinge-2.0.1/modules'
make[2]: Entering directory `/home/eyolf/temp/src/fontlinge-2.0.1/modules/fontlinge'
make[2]: Leaving directory `/home/eyolf/temp/src/fontlinge-2.0.1/modules/fontlinge'
make[1]: Leaving directory `/home/eyolf/temp/src/fontlinge-2.0.1/modules'
./misc/check_for_modules.pl --skip-fontlinge-module
Ok. Cwd 'abs_path'
Ok. DBI
Ok. User::pwent
Missing Image::Magick
Ok. Getopt::Long
Ok. DBD::mysql
Ok. File::Find
Ok. File::Path
Ok. ExtUtils::MakeMaker
Ok. 5.006
Ok. bytes
Ok. -utf8
It seems some required modules are missing.
How to get missing modules differs from _which_ module you are missing.
You can get modules like DBI from your distributions CD
or search the web for a RPM/DEB/...-file. www.cpan.org is always a good adress.
It may be a good idea to configure your perl-CPAN-Module as ROOT(!!!) by typing
perl -MCPAN -eshell
It is VERY important that you do not just 'su' to root but 'su -' on SuSE linux.
Once you have configured perl, you can install CPAN-modules by
perl -MCPAN -e 'install MODULENAME'
Other modules like Image::Magick require you to have the programs installed
they belong to.
If you are missing a 'fontlinge'-module, you have not installed this
program correctly. :-)
If the missing module begins with a '-' sign this module might miss,
because it is not possible to DEACTIVATE it, i.e. unwanted utf8 encoding.
make: *** [test] Error 255
If this makes sense to anyone, I'd be very happy. (For the record: Fontlinge is - or at least seems to be - the only decent font manager I've found for Linux. This seems to be a gaping, wide open black hole in the Linux world... There's gfontview, opcion, fontpage, and a couple of other minor apps that I've found, but none of them are functional for anything but the most basic operations, and on the whole, there doesn't seem to be much between the KDE font manager - which really makes one wonder how far the KDE people want to go in their emulation of windows... - and the font editor FontForge, which is great as a font editor, but overkill as a viewer, and hardly a manager.) -
Hi,
I am getting below wrror while accesing the Ecel:
compile error in hidden module: Essbaselogon. This error commonly occurs when code is incompatible with the version, Platform, or architecture of this applicationIIRC essbase is a financial reporting add-in (Hyperion, or something similar?).
This message is telling you that the add-in is not compatible with your current software. You should check with the vendor who provided the essbase add-in. Tell them what version of windows and Excel (and maybe Hyperion) you are using, and get a compatible
version from them...
If you do not need or run essbase/hyperion/etc then you should just remove/disable the add-in. If it doesn't show in your add-in menu, then you may have to do a repair installation or re-install Excel -
Revision: 11488
Author: [email protected]
Date: 2009-11-05 17:10:10 -0800 (Thu, 05 Nov 2009)
Log Message:
Resubmitting binary distribution of xercesPatch.jar from the third party module in the SDK and compiled it with Sun JDK 1.4.2_12.
QE notes: N/A
Doc notes: N/A
Bugs:
SDK-16818 - Must open-source the code for xercesPatch.jar.
Reviewer: Discussed with Gordon
Tests run: Checkintests
Is noteworthy for integration: No
Ticket Links:
http://bugs.adobe.com/jira/browse/SDK-16818
Modified Paths:
flex/sdk/trunk/lib/xercesPatch.jar
flex/sdk/trunk/modules/thirdparty/xerces-patch/build.xmlDid you try this:
http://forum.java.sun.com/thread.jsp?thread=434718&forum=60&message=1964421 -
Can't install perl modul DBD::Oracle with XE
Hello,
I have installed oracle 10.2.0.1 XE and want now install the perl modul DBD::Oracle.
After running
perl Makefile.PL
I get the message:
Unable to locate an oracle.mk, proc.mk or other suitable *.mkfile in your Oracle installation. (I looked in
/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/rdbms/lib/oracle.mk /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/rdbms/demo/oracle.mk /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/rdbms/demo/demo_rdbms.mk /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/otrace/demo/atmoci.mk /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/precomp/demo/proc/proc.mk /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/precomp/demo/proc/demo_proc.mk /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/proc/lib/proc.mk /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/proc16/lib/proc16.mk)
And the program is right!!
I do not have any of this files on my Computer.
I also looked in the files
oracle-instantclient-basic-10.2.0.1-1.i386.rpm
oracle-instantclient-devel-10.2.0.1-1.i386.rpm
where I also can't find these files.
Could you please help and tell me, where I can get these files?
Thank you,
MarcSee the thread on Perl with XE in Re: How can I get CPAN DBD::Oracle to install with XE?
-- cj -
Perl Module SNMP.pm do not work
Hello,
I want to use SNMP.pm Perl Module bundled with Solaris10,
but it doesn't work.
I guess the problem is that
default_store.so does not link sfw/lib/libnetsnmp.so with absolute path.
perl -MSNMP -n
Can't load '/usr/perl5/vendor_perl/5.8.4/sun4-solaris-64int/auto/NetSNMP/default_store/default_store.so' for module NetSNMP::default_store: ld.so.1: perl: fatal: libnetsnmp.so.5: open failed: No such file or directory at /usr/perl5/5.8.4/lib/sun4-solaris-64int/DynaLoader.pm line 230.
at /usr/perl5/vendor_perl/5.8.4/sun4-solaris-64int/SNMP.pm line 16
Compilation failed in require at /usr/perl5/vendor_perl/5.8.4/sun4-solaris-64int/SNMP.pm line 16.
BEGIN failed--compilation aborted at /usr/perl5/vendor_perl/5.8.4/sun4-solaris-64int/SNMP.pm line 16.
Compilation failed in require.
BEGIN failed--compilation aborted.
ThanksRussell,
The warranty period on your mac is 1 year. The complimentry phone service period is 90 days unless you have a hardware problem. I'd say you likely have a hardware problem and will not be charged for the phone call.
I'd suggest 2 things:
1. Sign up for Applecare as has been recommended countless times.
2. Make the call to tech support and see what they say about your problem.
Good Luck,
John -
Fail installing perl modules in new sparc server
Hi,
I'm trying to install the perl modules needed by my applications in a sparc server SunFire V210 with solaris 9 64bit. All the attempts fail because the interpreter is compiled with forte, this is the explanation i got. I found a solution in CPAN called perlgcc but it doesn't work it build a bad Makefile, the file has a lot of mistakes. Perl.com people tell me to change parameters in the makefiles and Config.pm but it's very hard to find the correct values, i'm not sure i fix the correct things.still it doesn't work.
I need an urgent solution it permits me to add modules without correction in the each makefile. I hope there is a standar procedure to solve it.
Thanks!Hi,
Here is your solution (I hope). I've being doing this this week and worked.
Look the stuff is connected with the compilers used to complie perl and as you see later other stuff on the sun. At the sun the stuff is compiled with sun compiler which is not provided on the solaris 8, 9 nor 10. Fortunately there is gcc installed on the sol10.
-bash-3.00# gcc --version<br />
gcc (GCC) 3.4.3 (csl-sol210-3_4-branch+sol_rpath)
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-bash-3.00#
The perl is compiled with sun compiler cc
-bash-3.00# perl -V | more
More
Summary of my perl5 (revision 5 version 8 subversion 4) configuration:
More
Platform:
osname=solaris, osvers=2.10, archname=sun4-solaris-64int
uname='sunos localhost 5.10 sun4u sparc SUNW,Ultra-2'
config_args=''
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=unde
f
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=define use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xarch=v8 -D_T
S_ERRNO',
optimize='-xO3 -xspace -xildoff',
cppflags=''
ccversion='Sun WorkShop', gccversion='', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=87654321
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lsee
ksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='cc', ldflags =''
libpth=/lib /usr/lib /usr/ccs/lib
libs=-lsocket -lnsl -ldl -lm -lc
perllibs=-lsocket -lnsl -ldl -lm -lc
libc=/lib/libc.so, so=so, useshrplib=true, libperl=libperl.so
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-R /usr/perl5/5.8.
4/lib/sun4-solaris-64int/CORE'
cccdlflags='-KPIC', lddlflags='-G'
What to do??? Yes - you are on sol10 - then do it
1. Logon as a root
2. Check your path and compare with
-bash-3.00# echo $PATH
/usr/sbin:/usr/bin:/usr/sfw:/usr/sfw/bin:/usr/sfw/lib:/usr/s fw/include:/opt/sfw:
/opt/sfw/bin:/opt/sfw/lib:/opt/sfw/include:/usr/ccs/bin:/usr /ccs/lib
-bash-3.00#
if differs upto the last /usr/ccs/lib modify your profile file ( anthing ofter the last /usr/ccs/lib can be aded).
3. Check out the the comands
gcc --version<br />
perl -V
4. If everything upto this step is ok you can proceed
5. You may do the installation of the perl modules in two ways:
a.) with CPAN module - Internet connection MANDATORY
b.) with perl and downloaded tar.gz module
5.a) With CPAN module
5.a.1) Launch the command to configure the CPAN module
perl -MCPAN -e shell
you will be asked to give the answers inorder to configure CPAN
5.a.2) When you see cpan> prompt do the following:
o conf makepl_arg 'CC=gcc CCCDLFLAGS=-fPIC CCFLAGS=" " OPTIMIZE=" " LD=gcc' press return
5.a.3) Type "o conf commit" press return. You may install your modules now with the install command e.g. install HTML::Parser for example.
5.b.1) Download your modules from http://www.cpan.org to your server to /var/tmp/packed or whatever folder you want.
5.b.2) unzip then untar and cd into subfolder
5.b.3) type ./Makefile.PL -t 'CC=gcc CCCDLFLAGS=-fPIC CCFLAGS=" " OPTIMIZE=" " LD=gcc'
5.b.4) Type make install
6.) In both methods you have to check if the modules are installed by issuing the commnad:
perl -e 'use Your::Module' e.g.
perl -e 'use HTTP::Parser'
if no error message on the term you are ready
Rem. The differrences are in the flags used to compile and link with these two compilers sun cc and gnu cc. There are of course problems with 64bit values on sun64bit e.g. SPARC and Intel stuff cause Perl does not support real 64bit values yet. The Perl modules should use only floating point represetnation with around 53~bit precision. But this issue depends on the module creator not you if you do not want to do the remedy.
I hope it will help you
good luck -
Hi everyone.
I'm running Solaris 8 in a dual p III 450Mhz box with 512 Mb RAM. I started to download every perl module I need to do my research, but after installing some modules I got this:
perl -MCPAN -e shell
Out of memory!
Callback called exit.
BEGIN failed--compilation aborted.
What is the meaning of that?. What memory is perl talking about?. I did a "top" and I found the box with 422 MB RAM free and an uptime 0.02.
What should be the problem?.
Thanks alot.I have tried modifying the path and environment
variables without success. I have heard from some
classmates that these perl problems have been encountered and solved before. Have changed path on system/user level or on command prompt.
- Virag Sharma
http://viragsharma.blogspot.com
http://virag.sharma.googlepages.com
Maybe you are looking for
-
How to load a FS module in solaris with modload
I've built a new FS module with the appropriate functions and structs (i.e. _init(), ... struct modlfs, etc ...). I move the binary to /kernel/fs/sparcv9/my_mod_name since it is a 64 bit binary and a 64 bit target. When I run modload: # modload -p /
-
Is there an External Superdrive dvd burner available for an iBook G4?
I'd like to make DVDs of a presentation, but my iBook doesn't have a SuperDrive. Should I use the iMovie or iDVD application to create the presentation? Do peripheral external DVD burners or SuperDrives exist? Or is there another way of making DVD co
-
Exchange issue: send/receive mail fine - can't delete or move messages
Just installed Snow Leopard this morning - excited to finally be able to hook into my company's exchange server. Everything appears to be functioning fine (I can receive and see all messages in my inbox, I can send email fine) however when I try eith
-
Wrong colors on iDVD burned disk after FCut Pro installation
Hi there: For some reason, after burning a DVD using the iDVD 5.0.1 software all I get is wrong colors when playing it in ANY DVD player. If I watch the very same disk on my G5 Mac, everything turns out ok! Is it a codec problem?? This problems suden
-
AA3 Script To Create Markers By Division
I brought this topic up a while back http://forums.adobe.com/thread/525033?tstart=0 I wanted to give it another try and hope someone new can help. Long story short, I once had a script that would allow me to choose a division # (/2, /4, /8, etc), and