List Info

Thread: New - errors when compiling on leopard for python in non-standard location




New - errors when compiling on leopard for python in non-standard location
user name
2008-01-17 16:06:00
htt
p://pysvn.tigris.org/issues/show_bug.cgi?id=85
                 Issue #|85
                 Summary|errors when compiling on leopard
for python in non-sta
                        |ndard location
               Component|pysvn
                 Version|current
                Platform|Macintosh
              OS/Version|All
                     URL|
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|extension
             Assigned to|barryscott
             Reported by|jens_nielsen






------- Additional comments from jens_nielsentigris.org Thu Jan 17 14:05:59 -0800 2008 -------
Hi

Tried compiling the pysvn extension on mac osx (leopard)
after downloading and
compiling python 2.5.1. in a local directory:

Note: Had to modify pyconfig.h to compile python on leopard
as detailed on  

Proceeded to compile pysvn
cd Source 
<localdir>/bin/python setup.py configure
make

First problem I have is that pysvn assumes that libpython is
in the root dir of
the python installation (instead of in
<root>/lib/python2.5/config/ [see below])

Fixed that by changing the Makefile manually. Next problem
is:
nielsenMacintosh-5.local
/Users/nielsen/Desktop/PEAT_installer/pysvn-1.5.2/Source>
make
g++ -bundle  -u _PyMac_Error -framework System
/Users/nielsen/Desktop/PEAT_installer/PEAT/lib/python2.5/con
fig/libpython2.5.a
-framework CoreFoundation -framework Kerberos -framework
Security -o
pysvn/_pysvn_2_5.so pysvn.o pysvn_callbacks.o pysvn_client.o
pysvn_enum_string.o
pysvn_transaction.o pysvn_revision.o pysvn_docs.o
pysvn_path.o
pysvn_arg_processing.o pysvn_converters.o pysvn_svnenv.o
pysvn_profile.o
cxxsupport.o cxx_extensions.o cxxextensions.o
IndirectPythonInterface.o
-L/usr/lib -L/usr/lib -lsvn_client-1 -lsvn_repos-1
-lsvn_wc-1 -lsvn_fs-1
-lsvn_subr-1 -lsvn_diff-1 -lapr-1
Undefined symbols:
  "_environ", referenced from:
      _environ$non_lazy_ptr in
libpython2.5.a(posixmodule.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [pysvn/_pysvn_2_5.so] Error 1

?
Help

------------------------------------------------------------
---------
To unsubscribe, e-mail: issues-unsubscribepysvn.tigris.org
For additional commands, e-mail: issues-helppysvn.tigris.org


errors when compiling on leopard for python in non-standard location
user name
2008-01-19 07:00:05
htt
p://pysvn.tigris.org/issues/show_bug.cgi?id=85



User barryscott changed the following:

                What    ld value 
               |New value
============================================================
====================
                  Status|NEW                       |STARTED
------------------------------------------------------------
--------------------




------- Additional comments from barryscotttigris.org Sat Jan 19 05:00:05 -0800 2008 -------
First off are you trying to do a framework build or a unix
like build?

You are mixing lib stuff with framework and I do not know if
that is
supposed to work on OS X. Did you build create a framework?
If so
point the makefile at that.

Just to make sure that its not a Leopard problem
can you build pysvn against the Apple shipped python on
leopard?

(I don't have leopard to test this on).


------------------------------------------------------------
---------
To unsubscribe, e-mail: issues-unsubscribepysvn.tigris.org
For additional commands, e-mail: issues-helppysvn.tigris.org


errors when compiling on leopard for python in non-standard location
user name
2008-01-19 11:01:29
htt
p://pysvn.tigris.org/issues/show_bug.cgi?id=85






------- Additional comments from jens_nielsentigris.org Sat Jan 19 09:01:29 -0800 2008 -------
It works fine with the pre-shipped python

Being a complete mac beginner I didn't know about Framework
vs. unix builds. I
guess I'm trying to do a unix build. Does this mean I'll
have to install a unix
version of subversion first?

------------------------------------------------------------
---------
To unsubscribe, e-mail: issues-unsubscribepysvn.tigris.org
For additional commands, e-mail: issues-helppysvn.tigris.org


errors when compiling on leopard for python in non-standard location
user name
2008-01-19 13:02:56
htt
p://pysvn.tigris.org/issues/show_bug.cgi?id=85






------- Additional comments from barryscotttigris.org Sat Jan 19 11:02:55 -0800 2008 -------
Why not use the DMG package from python.org and my binary
kit for pysvn?

What are you trying to do?


------------------------------------------------------------
---------
To unsubscribe, e-mail: issues-unsubscribepysvn.tigris.org
For additional commands, e-mail: issues-helppysvn.tigris.org


errors when compiling on leopard for python in non-standard location
user name
2008-01-19 13:10:48
htt
p://pysvn.tigris.org/issues/show_bug.cgi?id=85






------- Additional comments from jens_nielsentigris.org Sat Jan 19 11:10:48 -0800 2008 -------
I'm trying to distribute a software package that depends on
numpy, pysvn,
tkinter and a couple of other packages.

Trouble is that regular users can't/wont be bothered to
download and installing
3-5 packages before downloading and installing the final
package. An alternative
is (I hope) to build a complete python installation
including all packages
pre-installed in site-packages and then distribute that as
one big tarball.

If there are easier ways of doing this then I'm all ears...

------------------------------------------------------------
---------
To unsubscribe, e-mail: issues-unsubscribepysvn.tigris.org
For additional commands, e-mail: issues-helppysvn.tigris.org


errors when compiling on leopard for python in non-standard location
user name
2008-01-20 04:38:15
htt
p://pysvn.tigris.org/issues/show_bug.cgi?id=85



User barryscott changed the following:

                What    ld value 
               |New value
============================================================
====================
                  Status|STARTED                  
|RESOLVED
------------------------------------------------------------
--------------------
              Resolution|                          |INVALID
------------------------------------------------------------
--------------------




------- Additional comments from barryscotttigris.org Sun Jan 20 02:38:15 -0800 2008 -------
Just repackage the pysvn files in your kit.
There is no need to build from source.

Look at the pysvn source to understand the kitting
that pysvn does.

If you aim is to install an app then look at the
way workbench is packaged.

Since this is not a defect as such I suggest that
you sign up for the dev pysvn mailing list on
tigris.org to get more info.


------------------------------------------------------------
---------
To unsubscribe, e-mail: issues-unsubscribepysvn.tigris.org
For additional commands, e-mail: issues-helppysvn.tigris.org


[1-6]

about | contact  Other archives ( Real Estate discussion Medical topics )