logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

Re: threads: pth or pthread: msg#00075

Subject: Re: threads: pth or pthread

On Wednesday, July 17, 2002, at 08:53  AM, Max Horn wrote:


Btw, which version/package/libraries/headers should be used to port a fink package. The one packaged for fink or the one included with MacOSX. For example zlib - there is a fink package and a version in MacOSX - which one to use???

For zlib, the OS doesn't provide headers, so you have no choice. The same for libpcap and some others. As to link to which lib: usually not interfering there at all is the right thing, i.e. let the package do the pick - usually that will be the Fink version of the lib, but in e.g. the case of zlib they will link against the systems version of zlib.



It doesn't? Sure, its a version behind, but i thought the fink policy was NOT to depend on fink zlib at all because it is not needed and just there for backward compatibility for old packages.

 ben% ls -la /usr/include/zconf.h
-rw-r--r-- 1 root wheel 7903 Sep 2 2001 /usr/include/zconf.h
 ben% ls -la /usr/include/zlib.h
-rw-r--r-- 1 root wheel 40898 Sep 2 2001 /usr/include/zlib.h
 ben% ls -la /usr/lib/libz.1.1.3.dylib
-rwxr-xr-x 1 root wheel 60468 May 25 10:58 /usr/lib/libz.1.1.3.dylib



 ben% dpkg -c /sw/fink/debs/zlib_1.1.4-1_darwin-powerpc.deb
drwxr-xr-x root/admin        0 2002-07-17 09:54:07 ./
drwxr-xr-x root/admin        0 2002-07-17 09:54:08 ./sw/
drwxr-xr-x root/admin        0 2002-07-17 09:54:07 ./sw/include/
-rw-r--r-- root/admin     7835 2002-07-17 09:54:07 ./sw/include/zconf.h
-rw-r--r-- root/admin    40900 2002-07-17 09:54:07 ./sw/include/zlib.h
drwxr-xr-x root/admin        0 2002-07-17 09:54:08 ./sw/lib/
-rwxr-xr-x root/admin 60468 2002-07-17 09:54:07 ./sw/lib/libz.1.1.4.dylib
drwxr-xr-x root/admin        0 2002-07-17 09:54:08 ./sw/share/
drwxr-xr-x root/admin        0 2002-07-17 09:54:08 ./sw/share/doc/
drwxr-xr-x root/admin        0 2002-07-17 09:54:08 ./sw/share/doc/zlib/
-rw-r--r-- root/admin 3593 2002-03-11 06:15:28 ./sw/share/doc/zlib/FAQ -rw-r--r-- root/admin 6877 2002-03-11 07:02:55 ./sw/share/doc/zlib/README lrwxr-xr-x root/admin 0 2002-07-17 09:54:08 ./sw/lib/libz.1.dylib -> libz.1.1.4.dylib


-Ben



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf


<Prev in Thread] Current Thread [Next in Thread>