Re: [Fink-devel] Python, frameworks and Tkinter in 10.4
Vow! On 14 May 2005, at 07:52 pm, William Scott wrote: Here's a screenshot of how it looks with the fink version of pymol. The Pmw menu launches 5 times faster and looks nicer. http://babyurl.com/pDCJhv/pymol_screenshot.png On Sat, 14 May 2005, Murali Vadivelu wrote: I think its a fantastic idea. I built R against the Tiger version of aqua-tcl/tk and used a tcl/tk package from inside R (called RCommander). It works flawlessly! Its just fantastic. The output graph from the package was displayed in another quartz window which has to be opened from inside the R command line manually. Its a good work by the R team. They carbonized the binary using a single line command from a command line tool included with the Developer tools. On 14 May 2005, at 05:46 pm, William Scott wrote: Hi citizens: I noticed that 10.4 now comes with an aquafied TclTk framework. For awhile now I had been manually installing this, and then manually installing a framework build of Python. With 10.4, this just became much easier, as the only thing required for me to build Python 2.4 was to configure enabling frameworks and then to issue make frameworkinstall. To get python to use the non- fink TclTk by default, I just put prepended /usr/bin to my path temporarily. After it installed, I created the symbolic link /Library/Frameworks/Python.framework/Versions/Current/lib/ python2.4/site-packages -> /sw/lib/python2.4/site-packages/ to replace the (empty) framework site-packages directory with mine from fink, that contains other modules like numeric, scientific, Pmw, and so on. As a result, programs (such as pymol) that use Tkinter or Pmw (which depends on Tkinter) launch FIVE TIMES faster than with the X- windows version in fink (6 seconds vs. 30 seconds on my 2x2.5 GHz G5), and using IDLE is now faster and it is aquafied. I was wondering if it would be possible to have a version of Python within fink that builds against the aqua TclTk in fink? I think you can potentially put frameworks anywhere. The only drawback I can see currently is that there are some functions within Pmw that depend on blt, which is not yet available in the aqua form. Just an idea ... Bill Scott --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click ___ Fink-devel mailing list Fink-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-devel --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click ___ Fink-devel mailing list Fink-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-devel
Re: [Fink-devel] Python, frameworks and Tkinter in 10.4
Here's a screenshot of how it looks with the fink version of pymol. The Pmw menu launches 5 times faster and looks nicer. http://babyurl.com/pDCJhv/pymol_screenshot.png On Sat, 14 May 2005, Murali Vadivelu wrote: > I think its a fantastic idea. I built R against the Tiger version of > aqua-tcl/tk and used a tcl/tk package from inside R (called > RCommander). It works flawlessly! Its just fantastic. The output > graph from the package was displayed in another quartz window which > has to be opened from inside the R command line manually. Its a good > work by the R team. They carbonized the binary using a single line > command from a command line tool included with the Developer tools. > > > On 14 May 2005, at 05:46 pm, William Scott wrote: > > > Hi citizens: > > > > I noticed that 10.4 now comes with an aquafied TclTk framework. > > For awhile now I had been manually installing this, and then > > manually installing a framework build of Python. > > > > With 10.4, this just became much easier, as the only thing required > > for me to build Python 2.4 was to configure enabling frameworks and > > then to issue make frameworkinstall. To get python to use the non- > > fink TclTk by default, I just put prepended /usr/bin to my path > > temporarily. After it installed, I created the symbolic link > > /Library/Frameworks/Python.framework/Versions/Current/lib/ > > python2.4/site-packages -> /sw/lib/python2.4/site-packages/ to > > replace the (empty) framework site-packages directory with mine > > from fink, that contains other modules like numeric, scientific, > > Pmw, and so on. > > > > As a result, programs (such as pymol) that use Tkinter or Pmw > > (which depends on Tkinter) launch FIVE TIMES faster than with the X- > > windows version in fink (6 seconds vs. 30 seconds on my 2x2.5 GHz > > G5), and using IDLE is now faster and it is aquafied. > > > > I was wondering if it would be possible to have a version of Python > > within fink that builds against the aqua TclTk in fink? I think > > you can potentially put frameworks anywhere. > > > > The only drawback I can see currently is that there are some > > functions within Pmw that depend on blt, which is not yet available > > in the aqua form. > > > > Just an idea ... > > > > Bill Scott > > > > > > > > > > --- > > This SF.Net email is sponsored by Oracle Space Sweepstakes > > Want to be the first software developer in space? > > Enter now for the Oracle Space Sweepstakes! > > http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click > > ___ > > Fink-devel mailing list > > Fink-devel@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/fink-devel > > > --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click ___ Fink-devel mailing list Fink-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-devel
[Fink-devel] ImageIO
Is it possible to replace the requirements for libjpeg, libpng, libtiff, etc with ImageIO.framework in Tiger? Could avoid potential and happening conflicts between libJPEG and libjpeg, say for example. --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click ___ Fink-devel mailing list Fink-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-devel
Re: [Fink-devel] Python, frameworks and Tkinter in 10.4
I think its a fantastic idea. I built R against the Tiger version of aqua-tcl/tk and used a tcl/tk package from inside R (called RCommander). It works flawlessly! Its just fantastic. The output graph from the package was displayed in another quartz window which has to be opened from inside the R command line manually. Its a good work by the R team. They carbonized the binary using a single line command from a command line tool included with the Developer tools. On 14 May 2005, at 05:46 pm, William Scott wrote: Hi citizens: I noticed that 10.4 now comes with an aquafied TclTk framework. For awhile now I had been manually installing this, and then manually installing a framework build of Python. With 10.4, this just became much easier, as the only thing required for me to build Python 2.4 was to configure enabling frameworks and then to issue make frameworkinstall. To get python to use the non- fink TclTk by default, I just put prepended /usr/bin to my path temporarily. After it installed, I created the symbolic link /Library/Frameworks/Python.framework/Versions/Current/lib/ python2.4/site-packages -> /sw/lib/python2.4/site-packages/ to replace the (empty) framework site-packages directory with mine from fink, that contains other modules like numeric, scientific, Pmw, and so on. As a result, programs (such as pymol) that use Tkinter or Pmw (which depends on Tkinter) launch FIVE TIMES faster than with the X- windows version in fink (6 seconds vs. 30 seconds on my 2x2.5 GHz G5), and using IDLE is now faster and it is aquafied. I was wondering if it would be possible to have a version of Python within fink that builds against the aqua TclTk in fink? I think you can potentially put frameworks anywhere. The only drawback I can see currently is that there are some functions within Pmw that depend on blt, which is not yet available in the aqua form. Just an idea ... Bill Scott --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click ___ Fink-devel mailing list Fink-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-devel --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click ___ Fink-devel mailing list Fink-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-devel
[Fink-devel] Python, frameworks and Tkinter in 10.4
Hi citizens: I noticed that 10.4 now comes with an aquafied TclTk framework. For awhile now I had been manually installing this, and then manually installing a framework build of Python. With 10.4, this just became much easier, as the only thing required for me to build Python 2.4 was to configure enabling frameworks and then to issue make frameworkinstall. To get python to use the non- fink TclTk by default, I just put prepended /usr/bin to my path temporarily. After it installed, I created the symbolic link /Library/Frameworks/Python.framework/Versions/Current/lib/python2.4/ site-packages -> /sw/lib/python2.4/site-packages/ to replace the (empty) framework site-packages directory with mine from fink, that contains other modules like numeric, scientific, Pmw, and so on. As a result, programs (such as pymol) that use Tkinter or Pmw (which depends on Tkinter) launch FIVE TIMES faster than with the X-windows version in fink (6 seconds vs. 30 seconds on my 2x2.5 GHz G5), and using IDLE is now faster and it is aquafied. I was wondering if it would be possible to have a version of Python within fink that builds against the aqua TclTk in fink? I think you can potentially put frameworks anywhere. The only drawback I can see currently is that there are some functions within Pmw that depend on blt, which is not yet available in the aqua form. Just an idea ... Bill Scott --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click ___ Fink-devel mailing list Fink-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-devel
Re: [Fink-devel] Re: Failed: phase compiling: zsh-4.2.4-11 failed
Got similar error here: gcc -c -I. -I/sw/include -I/sw/include -DHAVE_CONFIG_H -Wall - Wmissing-prototypes -O2 -o utils.o utils.c utils.c: In function 'adjustwinsize': utils.c:1000: warning: implicit declaration of function 'ioctl' utils.c: At top level: utils.c:3460: warning: no previous prototype for 'ucs4toutf8' utils.c: In function 'ucs4toutf8': utils.c:3482: warning: suggest parentheses around arithmetic in operand of | utils.c: In function 'getkeystring': utils.c:3666: warning: passing argument 2 of 'libiconv' from incompatible pointer type gcc -c -I. -I/sw/include -I/sw/include -DHAVE_CONFIG_H -Wall - Wmissing-prototypes -O2 -o watch.o watch.c watch.c: In function 'watch3ary': watch.c:196: error: 'struct utmpx' has no member named 'ut_name' watch.c: In function 'watchlog2': watch.c:262: error: 'struct utmpx' has no member named 'ut_name' watch.c:262: error: 'struct utmpx' has no member named 'ut_name' watch.c: In function 'watchlog': watch.c:380: error: 'struct utmpx' has no member named 'ut_name' watch.c:388: error: 'struct utmpx' has no member named 'ut_name' watch.c:388: error: 'struct utmpx' has no member named 'ut_name' watch.c:399: error: 'struct utmpx' has no member named 'ut_name' watch.c:399: error: 'struct utmpx' has no member named 'ut_name' make[2]: *** [watch.o] Error 1 make[1]: *** [modobjs] Error 2 make: *** [all] Error 1 ### execution of make failed, exit code 2 Removing build lock... Regards, Cian On 12 Beal 2005, at 12:35, David H. wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 François Giron wrote: Hello, I transmit here the detail concerning the failure of the installation of zsh. utils.c: In function 'adjustwinsize': utils.c:1000: warning: implicit declaration of function 'ioctl' utils.c: At top level: utils.c:3460: warning: no previous prototype for 'ucs4toutf8' utils.c: In function 'ucs4toutf8': utils.c:3482: warning: suggest parentheses around arithmetic in operand of | utils.c: In function 'getkeystring': utils.c:3666: warning: passing argument 2 of 'libiconv' from incompatible pointer type gcc -c -I. -I/sw/include -I/sw/include -DHAVE_CONFIG_H -Wall -Wmissing-prototypes -O2 -o watch.o watch.c watch.c: In function 'watch3ary': watch.c:196: error: 'struct utmpx' has no member named 'ut_name' watch.c: In function 'watchlog2': watch.c:262: error: 'struct utmpx' has no member named 'ut_name' watch.c:262: error: 'struct utmpx' has no member named 'ut_name' watch.c: In function 'watchlog': watch.c:380: error: 'struct utmpx' has no member named 'ut_name' watch.c:388: error: 'struct utmpx' has no member named 'ut_name' watch.c:388: error: 'struct utmpx' has no member named 'ut_name' watch.c:399: error: 'struct utmpx' has no member named 'ut_name' watch.c:399: error: 'struct utmpx' has no member named 'ut_name' make[2]: *** [watch.o] Error 1 make[1]: *** [modobjs] Error 2 make: *** [all] Error 1 ### execution of make failed, exit code 2 Ok looks like we need: #if (defined(UTMPX) && defined(HAVE_STRUCT_UTMPX_UT_ID)) || (!defined(UTMPX) && defined(HAVE_STRUCT_UTMP_UT_ID)) strncpy(utx.ut_id, id, sizeof(utx.ut_id)); #endif #if (defined(UTMPX) && defined(HAVE_STRUCT_UTMP_UT_USER)) || (!defined(UTMPX) && defined(HAVE_STRUCT_UTMP_UT_USER)) strncpy(utx.ut_user, user, sizeof(utx.ut_user)); #else strncpy(utx.ut_name, user, sizeof(utx.ut_name)); #endif strncpy(utx.ut_line, line, sizeof(utx.ut_line)); #if (defined(UTMPX) && defined(HAVE_STRUCT_UTMP_UT_PID)) || (!defined(UTMPX) && defined(HAVE_STRUCT_UTMP_UT_PID)) utx.ut_pid = getpid(); #endif #if (defined(UTMPX) && defined(HAVE_STRUCT_UTMP_UT_TYPE)) || (!defined(UTMPX) && defined(HAVE_STRUCT_UTMP_UT_TYPE)) utx.ut_type = LOGIN_PROCESS; #endif #if (defined(UTMPX) && defined(HAVE_STRUCT_UTMP_UT_TV)) || (!defined(UTMPX) && defined(HAVE_STRUCT_UTMP_UT_TV)) gettimeofday(&(utx.ut_tv), 0); #else time(&(utx.ut_time)); That would also apply to the eterm issue on fink-users I guess ? -BEGIN PGP SIGNATURE- Version: GnuPG v1.3.6 (Darwin) iD8DBQFCgz+JPMoaMn4kKR4RAkWVAJ4hrYRSN7/Hv/O1QOrMAIfSQMdNeACfYcwN PKCpn1Hwzpg5FacYV8HEb8o= =5eKz -END PGP SIGNATURE- --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_ids93&alloc_id281&op=click ___ Fink-devel mailing list Fink-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-devel --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_ids93&alloc_id281&op=click ___ Fink-devel mailing list Fink-devel@lists.sourceforge.net https://lists.sourceforge.net/