On Jun 20, 2012, at 7:12 AM, Max Horn wrote:
> Hi again,
>
> I've been working on making a readline6 package, but so far could only test
> it on 10.6.8 (Intel / 64bit). I'd be grateful if people could test building
> it on other configurations, in particular on 10.5 and on 10.7, and also in
> 32bit environments (and perhaps on PowerPC), that would be most helpful.
>
> This is what you'd need to do:
> (a) Get the .info and .patch from <https://gist.github.com/2932949>
> (b) "fink install readline6"
> (c) Tell me the output of the following commands (together with your OS
> version and CPU type)
>
> ls -l /sw/lib/libreadline*dylib /sw/lib/libhistory*dylib
> otool -L /sw/lib/libreadline.dylib /sw/lib/libhistory.dylib
>
>
> Thanks,
> Max
Builds fine for me on 10.7.4 with Xcode 4.3.3. I do get a lot of warnings from
clang about '=' being used instead of '==' in conditionals like:
../histexpand.c:207:27: warning: using the result of an assignment as a
condition without parentheses [-Wparentheses]
for (local_index = i; c = string[i]; i++)
~~^~~~~~~~~~~
../histexpand.c:207:27: note: place parentheses around the assignment to silence
this warning
for (local_index = i; c = string[i]; i++)
^
( )
../histexpand.c:207:27: note: use '==' to turn this assignment into an equality
comparison
for (local_index = i; c = string[i]; i++)
^
==
Very sloppy programming, and it happens a lot.
~$ ls -l /sw64/lib/libreadline*dylib /sw64/lib/libhistory*dylib
-r-xr-xr-x 1 root admin 47916 Oct 31 2011 /sw64/lib/libhistory.5.2.dylib
lrwxr-xr-x 1 root admin 20 Oct 31 2011 /sw64/lib/libhistory.5.dylib ->
libhistory.5.2.dylib
-r-xr-xr-x 1 root admin 50336 Jun 20 08:16 /sw64/lib/libhistory.6.2.dylib
lrwxr-xr-x 1 root admin 20 Jun 20 08:16 /sw64/lib/libhistory.6.dylib ->
libhistory.6.2.dylib
lrwxr-xr-x 1 root admin 20 Jun 20 08:16 /sw64/lib/libhistory.dylib ->
libhistory.6.2.dylib
-r-xr-xr-x 1 root admin 308468 Oct 31 2011 /sw64/lib/libreadline.5.2.dylib
lrwxr-xr-x 1 root admin 21 Oct 31 2011 /sw64/lib/libreadline.5.dylib ->
libreadline.5.2.dylib
-r-xr-xr-x 1 root admin 323148 Jun 20 08:16 /sw64/lib/libreadline.6.2.dylib
lrwxr-xr-x 1 root admin 21 Jun 20 08:16 /sw64/lib/libreadline.6.dylib ->
libreadline.6.2.dylib
lrwxr-xr-x 1 root admin 21 Jun 20 08:16 /sw64/lib/libreadline.dylib ->
libreadline.6.2.dylib
~$ otool -L /sw64/lib/libreadline.dylib /sw64/lib/libhistory.dylib
/sw64/lib/libreadline.dylib:
/sw64/lib/libreadline.6.dylib (compatibility version 6.0.0, current
version 6.2.0)
/sw64/lib/ncurses/libncurses.5.dylib (compatibility version 5.0.0,
current version 5.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 159.1.0)
/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version
1094.0.0)
/sw64/lib/libhistory.dylib:
/sw64/lib/libhistory.6.dylib (compatibility version 6.0.0, current
version 6.2.0)
/sw64/lib/ncurses/libncurses.5.dylib (compatibility version 5.0.0,
current version 5.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 159.1.0)
/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version
1094.0.0)
Daniel
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Fink-devel mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel