Gideon Simpson | 2 Feb 03:07
Favicon

apple python + fink installed python packages

On leopard, even after installing fink and fink-python, the apple  
installed python seems to be the default, which is fine with me.   
However, I am wondering how I can have the fink installed python  
packages successfully interact with it.

-gideon

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
Picon
Gravatar

Re: apple python + fink installed python packages

On Friday 01 February 2008 09:07:03 pm Gideon Simpson wrote:
> On leopard, even after installing fink and fink-python, the apple
> installed python seems to be the default, which is fine with me.
> However, I am wondering how I can have the fink installed python
> packages successfully interact with it.
>
> -gideon
>
>

The fink "python" package puts a "python" executable in your PATH ahead of 
Apple's.  (currently it points to python2.5)

Fink's packages generally don't interact with the system's Python, since they 
tend to generate scripts that explictly call e.g. /sw/bin/python2.4 , and 
quite a few of them need X11 support which hasn't been in Apple's Python--I 
think this is still true on Leopard.    

The boost1.34.systempython package explicitly uses the system's Python.  In 
addition there are some packages that just need Python for scripting 
(e.g."rubber", which I've been maintaining) and they're set up just to use 
the system's python.

You could try hacking any of the Python scripts in the packages you've 
installed to utilize the system's version instead.
--

-- 
Alexander K. Hansen
akh AT finkproject DOT org
Fink User Liaison and Documenter
(Continue reading)

Carl Denzen Van | 2 Feb 14:18
Picon

svn-1.4.6-11 compile error on osx 10.4 unstable (update)

I took another look at the logfile and realised I didn't include an important piece about a missing file apr-md5.h.

/bin/sh /sw/src/fink.build/svn-1.4.6-11/subversion-1.4.6/libtool --tag=CC --silent --mode=compile gcc -I/sw/include   -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK  -g -O2  -g -O2   -I./subversion/include -I./subversion -I/sw/include/neon -I/sw/include/apr-1   -I/sw/include/apr-0 -I/sw/include  -o subversion/libsvn_delta/svndiff.lo -c subversion/libsvn_delta/svndiff.c
/bin/sh /sw/src/fink.build/svn-1.4.6-11/subversion-1.4.6/libtool --tag=CC --silent --mode=compile gcc -I/sw/include   -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK  -g -O2  -g -O2   -I./subversion/include -I./subversion -I/sw/include/neon -I/sw/include/apr-1   -I/sw/include/apr-0 -I/sw/include  -o subversion/libsvn_delta/text_delta.lo -c subversion/libsvn_delta/text_delta.c
subversion/libsvn_delta/text_delta.c:24:58: error: apr_md5.h: No such file or directory
subversion/libsvn_delta/text_delta.c:53: error: parse error before 'apr_md5_ctx_t'
subversion/libsvn_delta/text_delta.c:53: warning: no semicolon at end of struct or union
subversion/libsvn_delta/text_delta.c:58: error: 'APR_MD5_DIGESTSIZE' undeclared here (not in a function)
subversion/libsvn_delta/text_delta.c:59: error: parse error before '}' token
subversion/libsvn_delta/text_delta.c:99: error: parse error before 'apr_md5_ctx_t'
subversion/libsvn_delta/text_delta.c:99: warning: no semicolon at end of struct or union
subversion/libsvn_delta/text_delta.c:105: error: parse error before '}' token
subversion/libsvn_delta/text_delta.c: In function 'txdelta_next_window':
subversion/libsvn_delta/text_delta.c:318: error: dereferencing pointer to incomplete type
subversion/libsvn_delta/text_delta.c:320: error: dereferencing pointer to incomplete type
subversion/libsvn_delta/text_delta.c:320: error: dereferencing pointer to incomplete type
subversion/libsvn_delta/text_delta.c:321: error: dereferencing pointer to incomplete type


Begin doorgestuurd bericht:

Opnieuw-verstuurd-door: Carl Denzen Van <carl <at> vandenzen.nl>
Van: Carl Denzen Van <carl <at> vandenzen.nl>
Datum: 2 februari 2008 10:33:07 GMT+01:00
Onderwerp: svn-1.4.6-11 compile error on osx 10.4 unstable

I cannot compile svn:

The core packages have been updated. You should now update the other packages
using commands like 'fink update-all'.

The package 'svn-doc' will be built and installed.
Reading dependency for svn-1.4.6-11...
Reading build dependency for svn-1.4.6-11...
Reading dependency for svn-dev-1.4.6-11...
Reading dependency for svn-shlibs-1.4.6-11...
Reading dependency for svn-client-1.4.6-11...
Reading dependency for svn-doc-1.4.6-11...
Reading dependency for svn-doc-1.4.6-11...
Reading build dependency for svn-doc-1.4.6-11...
Reading build conflict for svn-1.4.6-11...
Reading build conflict for svn-doc-1.4.6-11...
The package 'swig-shlibs' will be built and installed.

WARNING: The package swig has a preferred Depends on swig-shlibs,
but swig-shlibs is an obsolete package.

Reading dependency for swig-1.3.20-1014...
Reading build dependency for swig-1.3.20-1014...
Reading dependency for swig-shlibs-1.3.20-1014...
WARNING: While resolving dependency "python-nox >= 2.2.1-8" for package "swig-1.3.20-1014", package "python-nox" was not found.
Reading dependency for swig-shlibs-1.3.20-1014...
Reading build dependency for swig-shlibs-1.3.20-1014...
Reading build conflict for swig-1.3.20-1014...
Reading build conflict for swig-shlibs-1.3.20-1014...
The package 'yelp-viewer-firefox' will be built and installed.
Reading dependency for yelp-viewer-firefox-2.14.3-1003...
Reading build dependency for yelp-viewer-firefox-2.14.3-1003...
Reading build conflict for yelp-viewer-firefox-2.14.3-1003...
The package 'expat' will be installed.
Reading dependency for expat-1.95.8-3...
The following 3 packages will be installed or updated:
 svn-doc swig-shlibs yelp-viewer-firefox
The following additional package will be installed:
 expat
Do you want to continue? [Y/n] (assuming default)
Reading buildlock packages...
All buildlocks accounted for.
/sw/bin/dpkg-lockwait -i /sw/fink/dists/unstable/main/binary-darwin-powerpc/base/expat_1.95.8-3_darwin-powerpc.deb
Selecteren van voorheen niet geselecteerd pakket expat.
dpkg: ik overweeg expat1 te verwijderen ten gunste van expat ...
dpkg: ja, ik zal expat1 verwijderen ten gunste van expat.
(Database inlezen ... 91264 bestanden en mappen geïnstalleerd.)
Uitpakken van expat (uit .../expat_1.95.8-3_darwin-powerpc.deb) ...
Instellen van expat (1.95.8-3) ...
Reading buildlock packages...
All buildlocks accounted for.
/sw/bin/dpkg-lockwait -i /sw/fink/dists/unstable/main/binary-darwin-powerpc/base/expat1_2.0.1-1_darwin-powerpc.deb
Selecteren van voorheen niet geselecteerd pakket expat1.
dpkg: ik overweeg expat te verwijderen ten gunste van expat1 ...
dpkg: ja, ik zal expat verwijderen ten gunste van expat1.
(Database inlezen ... 91264 bestanden en mappen geïnstalleerd.)
Uitpakken van expat1 (uit .../expat1_2.0.1-1_darwin-powerpc.deb) ...
Instellen van expat1 (2.0.1-1) ...
Setting runtime build-lock...
dpkg-deb -b /sw/src/fink.build/root-fink-buildlock-svn-1.4.6-11 /sw/src/fink.build
dpkg-deb: bouwen van pakket `fink-buildlock-svn-1.4.6-11' in `/sw/src/fink.build/fink-buildlock-svn-1.4.6-11_2008.02.02-09.28.25_darwin-powerpc.deb'.
Installing build-lock package...
/sw/bin/dpkg-lockwait -i /sw/src/fink.build/fink-buildlock-svn-1.4.6-11_2008.02.02-09.28.25_darwin-powerpc.deb
Selecteren van voorheen niet geselecteerd pakket fink-buildlock-svn-1.4.6-11.
(Database inlezen ... 91264 bestanden en mappen geïnstalleerd.)
Uitpakken van fink-buildlock-svn-1.4.6-11 (uit .../fink-buildlock-svn-1.4.6-11_2008.02.02-09.28.25_darwin-powerpc.deb) ...
Instellen van fink-buildlock-svn-1.4.6-11 (2008.02.02-09.28.25) ...
bzip2 -dc /sw/src/subversion-1.4.6.tar.bz2 | /sw/bin/tar -xvf -  --no-same-owner --no-same-permissions
subversion-1.4.6
subversion-1.4.6/README
subversion-1.4.6/gen-make.py
subversion-1.4.6/build.conf
subversion-1.4.6/notes
subversion-1.4.6/notes/webdav-acl-notes
(..)
subversion/libsvn_delta/text_delta.c:694: error: dereferencing pointer to incomplete type
subversion/libsvn_delta/text_delta.c:697: error: dereferencing pointer to incomplete type
subversion/libsvn_delta/text_delta.c:700: error: dereferencing pointer to incomplete type
subversion/libsvn_delta/text_delta.c:702: error: dereferencing pointer to incomplete type
make: *** [subversion/libsvn_delta/text_delta.lo] Error 1
### execution of /var/tmp/tmp.1.9jxMqP failed, exit code 2
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-svn-1.4.6-11
(Database inlezen ... 98069 bestanden en mappen geïnstalleerd.)
Verwijderen van fink-buildlock-svn-1.4.6-11 ...
Updating the list of locally available binary packages.

Carl van Denzen.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Fink-users mailing list
Fink-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users
Martin Costabel | 2 Feb 14:46
Picon

Re: svn-1.4.6-11 compile error on osx 10.4 unstable (update)

Carl Denzen Van wrote:
> I took another look at the logfile and realised I didn't include an 
> important piece about a missing file apr-md5.h.
> 
> /bin/sh /sw/src/fink.build/svn-1.4.6-11/subversion-1.4.6/libtool 
> --tag=CC --silent --mode=compile gcc -I/sw/include   -DDARWIN 
> -DSIGPROCMASK_SETS_THREAD_MASK  -g -O2  -g -O2   -I./subversion/include 
> -I./subversion -I/sw/include/neon -I/sw/include/apr-1   
> -I/sw/include/apr-0 -I/sw/include  -o subversion/libsvn_delta/svndiff.lo 
> -c subversion/libsvn_delta/svndiff.c
> /bin/sh /sw/src/fink.build/svn-1.4.6-11/subversion-1.4.6/libtool 
> --tag=CC --silent --mode=compile gcc -I/sw/include   -DDARWIN 
> -DSIGPROCMASK_SETS_THREAD_MASK  -g -O2  -g -O2   -I./subversion/include 
> -I./subversion -I/sw/include/neon -I/sw/include/apr-1   
> -I/sw/include/apr-0 -I/sw/include  -o 
> subversion/libsvn_delta/text_delta.lo -c 
> subversion/libsvn_delta/text_delta.c
> subversion/libsvn_delta/text_delta.c:24:58: error: apr_md5.h: No such 
> file or directory

The file /sw/include/apr-0/apr_md5.h belongs to the apr-dev package 
which should, in principle, be installed, because it is a build 
dependency of svn. You need to reinstall or even rebuild apr-dev.

--

-- 
Martin

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Fink-users mailing list
Fink-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users
Carl Denzen Van | 2 Feb 17:21
Picon

Re: svn-1.4.6-11 compile error on osx 10.4 unstable (update)

Hello Martin,

indeed, that was the problem. I removed, installed apr-dev and now  
svn compiles. It is maybe caused by some experiments with local  
apache2, apr, apr-util info files I tried a few months ago.

Thank you!

Carl.

Op 2-feb-2008, om 14:46 heeft Martin Costabel het volgende geschreven:

> Carl Denzen Van wrote:
>> I took another look at the logfile and realised I didn't include  
>> an important piece about a missing file apr-md5.h.
>> /bin/sh /sw/src/fink.build/svn-1.4.6-11/subversion-1.4.6/libtool -- 
>> tag=CC --silent --mode=compile gcc -I/sw/include   -DDARWIN - 
>> DSIGPROCMASK_SETS_THREAD_MASK  -g -O2  -g -O2   -I./subversion/ 
>> include -I./subversion -I/sw/include/neon -I/sw/include/apr-1   -I/ 
>> sw/include/apr-0 -I/sw/include  -o subversion/libsvn_delta/ 
>> svndiff.lo -c subversion/libsvn_delta/svndiff.c
>> /bin/sh /sw/src/fink.build/svn-1.4.6-11/subversion-1.4.6/libtool -- 
>> tag=CC --silent --mode=compile gcc -I/sw/include   -DDARWIN - 
>> DSIGPROCMASK_SETS_THREAD_MASK  -g -O2  -g -O2   -I./subversion/ 
>> include -I./subversion -I/sw/include/neon -I/sw/include/apr-1   -I/ 
>> sw/include/apr-0 -I/sw/include  -o subversion/libsvn_delta/ 
>> text_delta.lo -c subversion/libsvn_delta/text_delta.c
>> subversion/libsvn_delta/text_delta.c:24:58: error: apr_md5.h: No  
>> such file or directory
>
> The file /sw/include/apr-0/apr_md5.h belongs to the apr-dev package  
> which should, in principle, be installed, because it is a build  
> dependency of svn. You need to reinstall or even rebuild apr-dev.
>
> -- 
> Martin
>

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
Picon

bzr-py25 fails to install

New bazaar (python 2.5) version 1.1 fails to install. I have  
selfupdated and tried again.

Thanks in advance,

Aleix

------
.....
running build_scripts
creating build/scripts-2.5
copying and adjusting bzr -> build/scripts-2.5
changing mode of build/scripts-2.5/bzr from 644 to 755
PYTHONPATH=/sw/lib/docutils make PYTHON=python2.5 docs
python2.5 tools/rst2html.py --link-stylesheet --footnote- 
references=superscript --halt=warning --stylesheet=../../default.css  
doc/en/tutorials/centralized_workflow.txt doc/en/tutorials/ 
centralized_workflow.html
Traceback (most recent call last):
   File "tools/rst2html.py", line 24, in <module>
     from docutils.parsers.rst.states import Body
   File "/sw/lib/python2.5/site-packages/docutils/parsers/rst/ 
__init__.py", line 77, in <module>
     from docutils.parsers.rst import states
   File "/sw/lib/python2.5/site-packages/docutils/parsers/rst/ 
states.py", line 110, in <module>
     import roman
ImportError: No module named roman
make: *** [doc/en/tutorials/centralized_workflow.html] Error 1

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
Picon
Gravatar

Re: bzr-py25 fails to install

On Saturday 02 February 2008 02:24:49 pm Aleix Conchillo Flaqué wrote:
> New bazaar (python 2.5) version 1.1 fails to install. I have
> selfupdated and tried again.
>
> Thanks in advance,
>
> Aleix
>
> ------
> .....
> running build_scripts
> creating build/scripts-2.5
> copying and adjusting bzr -> build/scripts-2.5
> changing mode of build/scripts-2.5/bzr from 644 to 755
> PYTHONPATH=/sw/lib/docutils make PYTHON=python2.5 docs
> python2.5 tools/rst2html.py --link-stylesheet --footnote-
> references=superscript --halt=warning --stylesheet=../../default.css
> doc/en/tutorials/centralized_workflow.txt doc/en/tutorials/
> centralized_workflow.html
> Traceback (most recent call last):
>    File "tools/rst2html.py", line 24, in <module>
>      from docutils.parsers.rst.states import Body
>    File "/sw/lib/python2.5/site-packages/docutils/parsers/rst/
> __init__.py", line 77, in <module>
>      from docutils.parsers.rst import states
>    File "/sw/lib/python2.5/site-packages/docutils/parsers/rst/
> states.py", line 110, in <module>
>      import roman
> ImportError: No module named roman
> make: *** [doc/en/tutorials/centralized_workflow.html] Error 1
>
>

What OS version are you on?

It works for me on 10.5.

--

-- 
Alexander K. Hansen
akh AT finkproject DOT org
Fink User Liaison and Documenter
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Fink-users mailing list
Fink-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users
Picon
Gravatar

Re: bzr-py25 fails to install

Alexander K. Hansen wrote:
> On Saturday 02 February 2008 02:24:49 pm Aleix Conchillo Flaqué wrote:
>> New bazaar (python 2.5) version 1.1 fails to install. I have
>> selfupdated and tried again.
>>
>> Thanks in advance,
>>
>> Aleix
>>
>> ------
>> .....
>> running build_scripts
>> creating build/scripts-2.5
>> copying and adjusting bzr -> build/scripts-2.5
>> changing mode of build/scripts-2.5/bzr from 644 to 755
>> PYTHONPATH=/sw/lib/docutils make PYTHON=python2.5 docs
>> python2.5 tools/rst2html.py --link-stylesheet --footnote-
>> references=superscript --halt=warning --stylesheet=../../default.css
>> doc/en/tutorials/centralized_workflow.txt doc/en/tutorials/
>> centralized_workflow.html
>> Traceback (most recent call last):
>>    File "tools/rst2html.py", line 24, in <module>
>>      from docutils.parsers.rst.states import Body
>>    File "/sw/lib/python2.5/site-packages/docutils/parsers/rst/
>> __init__.py", line 77, in <module>
>>      from docutils.parsers.rst import states
>>    File "/sw/lib/python2.5/site-packages/docutils/parsers/rst/
>> states.py", line 110, in <module>
>>      import roman
>> ImportError: No module named roman
>> make: *** [doc/en/tutorials/centralized_workflow.html] Error 1
>>

Should be fixed after upgrading docutils-py to rev.  5

JF Mertens

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
Picon

Re: bzr-py25 fails to install

Fixed!

Selfupdated, docutils-py is now on rev 5.

On Feb 2, 2008, at 9:58 PM, Jean-Francois Mertens wrote:
>
> Should be fixed after upgrading docutils-py to rev.  5
>
> JF Mertens
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Fink-users mailing list
> Fink-users <at> lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/fink-users

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
David Lowe | 3 Feb 17:34
Picon

compiling: libquicktime0-0.9.10-2 failed

  gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I../../include/ 
quicktime -DLIBOSS_INTERNAL -I/usr/X11R6/include -I/sw/include -I/sw/ 
include -mtune=G5 -mpowerpc64 -mpowerpc-gpopt -falign-loops=16 - 
mtune=G5 -O3 -funroll-all-loops -fomit-frame-pointer -finline- 
functions -Wall -Winline -c x264.c  -fno-common -DPIC -o .libs/x264.o
x264.c: In function 'encode':
x264.c:496: error: 'struct <anonymous>' has no member named  
'i_rf_constant'
x264.c: In function 'set_parameter':
x264.c:658: error: 'struct <anonymous>' has no member named  
'i_rf_constant'
make[3]: *** [x264.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
### execution of make failed, exit code 2
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-libquicktime0-0.9.10-2

	I didn't recognize this as being anything from the FAQ.  Do i need  
to install a Quicktime SDK?

PowerMac G5 1.6 GHz [2 GB mem] Os X.4.11, Apple X11, XCode 2.5, Fink  
0.28.0

I have lost my mind, but it must be backed-up somewhere.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

Gmane