09-06-2005
python build on HP-UX: have to define _POSIX_THREADS manually
Hi dannile,
seems that this could solve your problem:
http://mail.python.org/pipermail/pyt...er/026316.html
-haubi
Quote:
Originally Posted by dannile
Hello all!
I have the same system bellow, but I'm trying to compile Python 2.4.1, I have an error while building the package, seems like something about linking packages:
ar cr libpython2.4.a Modules/threadmodule.o Modules/signalmodule.o Modules/posixmodule.o Modules/errnomodule.o Modules/_sre.o Modules/_codecsmodule.o Modules/zipimport.o Modules/symtablemodule.o Modules/xxsubtype.o
ranlib libpython2.4.a
gcc -pthread -Wl,-E -Wl,+s -o python \
Modules/python.o \
libpython2.4.a -lnsl -lrt -ldld -lm
/usr/ccs/bin/ld: Unsatisfied symbols:
PyThread_acquire_lock (first referenced in libpython2.4.a(import.o)) (code)
PyThread_exit_thread (first referenced in libpython2.4.a(threadmodule.o)) (code)
PyThread_allocate_lock (first referenced in libpython2.4.a(import.o)) (code)
PyThread_free_lock (first referenced in libpython2.4.a(threadmodule.o)) (code)
PyThread_start_new_thread (first referenced in libpython2.4.a(threadmodule.o)) (code)
PyThread_release_lock (first referenced in libpython2.4.a(import.o)) (code)
PyThread_get_thread_ident (first referenced in libpython2.4.a(import.o)) (code)
PyThread__init_thread (first referenced in libpython2.4.a(thread.o)) (code)
collect2: ld returned 1 exit status
*** Error exit code 1
Stop.
#
I don't know what else todo to complete! The configure script runs without erros, but the "make" procedures doesn't finish!
Thank you
Last edited by haubi; 09-06-2005 at 05:30 AM..
Reason: missing title
8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I've got a problem i'm hoping other more experienced programmers have had to deal with sometime in their careers and can help me: how to get fullnames that were chunked together into one field in an old database into separate more meaningful fields.
I'd like to get the records that nicely fit... (2 Replies)
Discussion started by: RacerX
2 Replies
2. UNIX for Dummies Questions & Answers
Please help... i'm new to this job and new to unix as well..... i'm trying to install apache 2.2.6 it's installed on one server... i need to install it on another server... my clue was to maybe use the fetch command... please help.....for example..... apache is on 69.50.132.14.... and it needs to... (1 Reply)
Discussion started by: marinob007
1 Replies
3. UNIX for Advanced & Expert Users
Hi,
can anyone help me with Installation of ViewCVS on a linux machine. I am new to this and i tried googling on net but did not find any links for the same. Any help on this will be appreciated
Thanks,
Sandeep (0 Replies)
Discussion started by: bsandeep_80
0 Replies
4. UNIX for Dummies Questions & Answers
i rue the day that my server manager and i parted company... the start of a long journey.... :(
sometimes i find myself daydreaming about the days when i could say... "this dont work, can u fix it?".... and 2 mins later it worked! i have a new way of "cursing" at ppls.... i just say "failed... (10 Replies)
Discussion started by: mickeymouse
10 Replies
5. BSD
Dear friends out there, i hope u'll have enough time to read this problem of mine and try to help me solve it. well, i've been a long time user of microsoft products and happened to come across FreeBSD when one fellow referred me to it saying that it was a wonderful OS which one could use for web... (6 Replies)
Discussion started by: kenyatta
6 Replies
6. Solaris
Hello there ppl,
I thought my question would qualify to be posted in this forum and in Shell scripting forum.
And I swear to God.. there is no discussion on this exact topic anywhere else on the web!
So my script on BASH uses 2 commands:
1) date -d "Fri Mar 06 10:18:16 UTC 2009" +%s
... (1 Reply)
Discussion started by: pavanlimo
1 Replies
7. Shell Programming and Scripting
Hi everyone
I have a Fedora FTP server (lets call it FTP-SERVER1) and files are constantly being uploaded to it from a 3rd party.
Once every 15 minutes I need to "move" the files from the FTP
server to another server (lets call it SVR-WINDOWS) where it will be processed and then deleted.
... (3 Replies)
Discussion started by: soliberus
3 Replies
8. Solaris
Hello Ex-Sun fellows,
i've been tasked to install a bran spanking new AI Solaris 11.1 server for our Oracle park.
With the documentation this is what's running and what's working.
T5120 2 oracle VM's (one ldom on each disk)
One with a Solaris 11.1 repo, AI server.
One for testing... (0 Replies)
Discussion started by: maverick72
0 Replies
LEARN ABOUT DEBIAN
apache::session::oracle
Apache::Session::Oracle(3pm) User Contributed Perl Documentation Apache::Session::Oracle(3pm)
NAME
Apache::Session::Oracle - An implementation of Apache::Session
SYNOPSIS
use Apache::Session::Oracle;
#if you want Apache::Session to open new DB handles:
tie %hash, 'Apache::Session::Oracle', $id, {
DataSource => 'dbi:Oracle:sessions',
UserName => $db_user,
Password => $db_pass,
Commit => 1
};
#or, if your handles are already opened:
tie %hash, 'Apache::Session::Oracle', $id, {
Handle => $dbh,
Commit => 1
};
DESCRIPTION
This module is an implementation of Apache::Session. It uses the Oracle backing store and no locking. See the example, and the
documentation for Apache::Session::Store::Oracle for more details.
USAGE
The special Apache::Session argument for this module is Commit. You MUST provide the Commit argument, which instructs this module to
either commit the transaction when it is finished, or to simply do nothing. This feature is provided so that this module will not have
adverse interactions with your local transaction policy, nor your local database handle caching policy. The argument is mandatory in order
to make you think about this problem.
This module also respects the LongReadLen argument, which specifies the maximum size of the session object. If not specified, the default
maximum is 8 KB.
AUTHOR
This module was written by Jeffrey William Baker <jwbaker@acm.org>.
SEE ALSO
Apache::Session::File, Apache::Session::Flex, Apache::Session::DB_File, Apache::Session::Postgres, Apache::Session
perl v5.10.1 2010-10-18 Apache::Session::Oracle(3pm)