HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Building oratcl on HP/UX 11.00 - build error (exit...
Operating System - HP-UX
1835882
Members
3987
Online
110086
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2001 12:12 PM
04-19-2001 12:12 PM
Building oratcl on HP/UX 11.00 - build error (exit 1)
I am having a problem building Oratcl 3.2 with Tcl 8.2 on an HP/UX 11.00
system.
Built Tcl 8.2 shared, and installed it in /opt.
When building Oratcl, however, I get this error (showing config steps, too):
../configure --prefix=/opt/tcl-8.2 --exec-prefix=/opt/tcl-8.2 --enable-stubs
--with-oracle-directory=/oracle/app/oracle/product/8.1.7 --without-tclx
This goes ok.
However, on the Make, I get this:
cc -DVERSION=\"3.2\" -DUSE_TCL_STUBS=1
-DLIBRARY1=\"oralob.tcl\"
-DLIBRARY2=\"oralong.tcl\" -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1
-DHAVE_GETCWD=1 -DHAVE_OPENDIR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1
-DHAVE_TMPNAM=1 -DHAVE_WAITPID=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1
-DUSE_TERMIOS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TZNAME=1
-DHAVE_TIMEZONE_VAR=1 -DHAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1 -DNO_UNION_WAIT=1
-DRETSIGTYPE=void -DHAVE_SIGNED_CHAR=1 -DHAVE_SYS_IOCTL_H=1
-DORA_MAJOR_VERSION=8 -DORA_MINOR_VERSION=1 -I"/opt/tcl-8.2/include"
-I"../generic" -I/oracle/app/oracle/product/8.1.7/rdbms/demo
-I/oracle/app/oracle/product/8.1.7/rdbms/public
-I/oracle/app/oracle/product/8.1.7/plsql/public
-I/oracle/app/oracle/product/8.1.7/network/public
-I/oracle/app/oracle/product/8.1.7/oci/include -O +Onolimit -Ae +z -c
`echo ../generic/oratcl.c` -o oratcl.o
rm -f liboratcl.sl
ld -b -o liboratcl.sl oratcl. +s +b
/opt/tcl-8.2/lib:/oracle/app/oracle/product/8.1.7/lib:. -L/opt/tcl-8.2/lib
-ltclstub -L/oracle/app/oracle/product/8.1.7/lib -lclntsh
ld: Can't open oratcl.
ld: No such file or directory
*** Error exit code 1
Help!
(Hopefully this all looks okay..the posting window is just a little small...heh!)
system.
Built Tcl 8.2 shared, and installed it in /opt.
When building Oratcl, however, I get this error (showing config steps, too):
../configure --prefix=/opt/tcl-8.2 --exec-prefix=/opt/tcl-8.2 --enable-stubs
--with-oracle-directory=/oracle/app/oracle/product/8.1.7 --without-tclx
This goes ok.
However, on the Make, I get this:
cc -DVERSION=\"3.2\" -DUSE_TCL_STUBS=1
-DLIBRARY1=\"oralob.tcl\"
-DLIBRARY2=\"oralong.tcl\" -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1
-DHAVE_GETCWD=1 -DHAVE_OPENDIR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1
-DHAVE_TMPNAM=1 -DHAVE_WAITPID=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1
-DUSE_TERMIOS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TZNAME=1
-DHAVE_TIMEZONE_VAR=1 -DHAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1 -DNO_UNION_WAIT=1
-DRETSIGTYPE=void -DHAVE_SIGNED_CHAR=1 -DHAVE_SYS_IOCTL_H=1
-DORA_MAJOR_VERSION=8 -DORA_MINOR_VERSION=1 -I"/opt/tcl-8.2/include"
-I"../generic" -I/oracle/app/oracle/product/8.1.7/rdbms/demo
-I/oracle/app/oracle/product/8.1.7/rdbms/public
-I/oracle/app/oracle/product/8.1.7/plsql/public
-I/oracle/app/oracle/product/8.1.7/network/public
-I/oracle/app/oracle/product/8.1.7/oci/include -O +Onolimit -Ae +z -c
`echo ../generic/oratcl.c` -o oratcl.o
rm -f liboratcl.sl
ld -b -o liboratcl.sl oratcl. +s +b
/opt/tcl-8.2/lib:/oracle/app/oracle/product/8.1.7/lib:. -L/opt/tcl-8.2/lib
-ltclstub -L/oracle/app/oracle/product/8.1.7/lib -lclntsh
ld: Can't open oratcl.
ld: No such file or directory
*** Error exit code 1
Help!
(Hopefully this all looks okay..the posting window is just a little small...heh!)
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2001 07:49 PM
04-19-2001 07:49 PM
Re: Building oratcl on HP/UX 11.00 - build error (exit 1)
Quick Look: Check the MakeFile for "oratcl.", as I think it is missing a suffix (probably .o).
Do you have an older MakeFile from a previous version that worked? This may point you in the direction of the entry in MakeFile that is missing.
Do you have an older MakeFile from a previous version that worked? This may point you in the direction of the entry in MakeFile that is missing.
Peace thru superior firepower.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2001 09:39 PM
04-19-2001 09:39 PM
Re: Building oratcl on HP/UX 11.00 - build error (exit 1)
Hi there.
This is usually an error in the Oracle environment. Some path has not been setup correctly. Check your Install and Upgrade Guide. If you do not have it, try to find it in Oracle Metalink.
Rgds
Alexander M. Ermes
This is usually an error in the Oracle environment. Some path has not been setup correctly. Check your Install and Upgrade Guide. If you do not have it, try to find it in Oracle Metalink.
Rgds
Alexander M. Ermes
.. and all these memories are going to vanish like tears in the rain! final words from Rutger Hauer in "Blade Runner"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2001 06:34 AM
04-26-2001 06:34 AM
Re: Building oratcl on HP/UX 11.00 - build error (exit 1)
Okay, one error was that a variable was not getting assigned correctly - it would attempt to build a shared library using an object file called 'oratcl.' - it should have been oratcl.o. This had to be done manually.
Here's what I did to get it working.
Needed to build TCL with the following configure:
./configure --disable-threads --enable-shared
Then edit the Makefile for the libraries so it also looks at -lcl and -lpthread as well as -ldld.
make, make test, make install - all successful.
OraTcl 3.2
Configure with the following:
../configure --prefix=/opt/tcl-8.2 --exec-prefix=/opt/tcl-8.2 --enable-stubs --with-oracle-directory=/oracle/app/oracle/product/8.1.7 --enable-shared --disable-threads
(Note: Other configurations may not have the same oracle-directory/prefix settings. As well, Oratcl 3.2 is for Oracle8, not 7. If you need one for 7, then get an older version).
Again, edit the Makefile once the configure is completed so that the libraries used also include -lcl and -lpthread.
make, make test, make install - successful
Here's what I did to get it working.
Needed to build TCL with the following configure:
./configure --disable-threads --enable-shared
Then edit the Makefile for the libraries so it also looks at -lcl and -lpthread as well as -ldld.
make, make test, make install - all successful.
OraTcl 3.2
Configure with the following:
../configure --prefix=/opt/tcl-8.2 --exec-prefix=/opt/tcl-8.2 --enable-stubs --with-oracle-directory=/oracle/app/oracle/product/8.1.7 --enable-shared --disable-threads
(Note: Other configurations may not have the same oracle-directory/prefix settings. As well, Oratcl 3.2 is for Oracle8, not 7. If you need one for 7, then get an older version).
Again, edit the Makefile once the configure is completed so that the libraries used also include -lcl and -lpthread.
make, make test, make install - successful
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP