Hello all. I'm a new MacOSX user coming from Linux World. I'm trying to port my mail system from my linux to my brand new iMac. So, I'm trying to install fetchmail, but I can't install py-tkinter: ordinateur-de-aurelien-dehay:~ root# port install py-tkinter ---> Building py-tkinter with target build Error: Target com.apple.build returned: shell command "cd "/opt/local/ var/db/dports/build/ _opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp orts_python_py-tkinter/work/Python-2.4.3/Modules" && /opt/local/bin/ python2.4 setup.py build" returned error 1 Command output: /opt/local/include/tkDecls.h:1154: error: parse error before '*' token /opt/local/include/tkDecls.h:1154: warning: function declaration isn't a prototype /opt/local/include/tkDecls.h:1155: error: parse error before 'Tk_Outline' /opt/local/include/tkDecls.h:1155: warning: function declaration isn't a prototype /opt/local/include/tkDecls.h:1156: error: parse error before 'Tk_Outline' /opt/local/include/tkDecls.h:1156: warning: function declaration isn't a prototype /opt/local/include/tkDecls.h:1157: error: parse error before 'Tk_Outline' /opt/local/include/tkDecls.h:1157: warning: function declaration isn't a prototype /opt/local/include/tkDecls.h:1158: error: parse error before 'GC' /opt/local/include/tkDecls.h:1158: warning: function declaration isn't a prototype /opt/local/include/tkDecls.h:1160: error: parse error before 'GC' /opt/local/include/tkDecls.h:1160: warning: function declaration isn't a prototype /opt/local/include/tkDecls.h:1162: error: parse error before 'Pixmap' /opt/local/include/tkDecls.h:1162: warning: function declaration isn't a prototype /opt/local/include/tkDecls.h:1163: error: parse error before 'XColor' /opt/local/include/tkDecls.h:1163: warning: function declaration isn't a prototype /opt/local/include/tkDecls.h:1167: error: parse error before 'Pixmap' /opt/local/include/tkDecls.h:1167: warning: function declaration isn't a prototype /opt/local/include/tkDecls.h:1173: error: parse error before 'Tk_ClassProcs' /opt/local/include/tkDecls.h:1173: warning: function declaration isn't a prototype /opt/local/include/tkDecls.h:1179: error: parse error before '*' token /opt/local/include/tkDecls.h:1179: warning: function declaration isn't a prototype /opt/local/include/tkDecls.h:1195: error: parse error before 'Drawable' /opt/local/include/tkDecls.h:1195: warning: function declaration isn't a prototype /opt/local/include/tkDecls.h:1196: warning: type defaults to 'int' in declaration of 'TkStubs' /opt/local/include/tkDecls.h:1196: warning: data definition has no type or storage class /opt/local/include/tkDecls.h:1201: error: parse error before '*' token /opt/local/include/tkDecls.h:1201: warning: type defaults to 'int' in declaration of 'tkStubsPtr' /opt/local/include/tkDecls.h:1201: warning: data definition has no type or storage class error: command '/usr/bin/gcc-4.0' failed with exit status 1 Error: Status 1 encountered during processing. I've tryied searching on google, trac and mailing lists without success. Anyone who manage to install fetchmail or py-tkinter? Regards. -- Aurélien
Hi Aurélien, I was devising adding a variant for the fetchmailconf stuff (that depends on python) in Bug #10780, but never got to do it. As always, there is a dilemna between going either the variant way (+fetchmailconf, or -fetchmailconf, whatever's preferrable), or splitting it in two ports, fetchmail & fetchmailconf. I think I'll add a variant named 'fetchmailconf', perhaps defaulting to it. You need to file a bug on py-tkinter, in the meantime I'll probably try to get a variant out. -- Pierre Aurélien DEHAY wrote:
Hello all.
I'm a new MacOSX user coming from Linux World. I'm trying to port my mail system from my linux to my brand new iMac.
So, I'm trying to install fetchmail, but I can't install py-tkinter:
ordinateur-de-aurelien-dehay:~ root# port install py-tkinter ---> Building py-tkinter with target build Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_python_py-tkinter/work/Python-2.4.3/Modules" && /opt/local/bin/python2.4 setup.py build" returned error 1 Command output: /opt/local/include/tkDecls.h:1154: error: parse error before '*' token /opt/local/include/tkDecls.h:1154: warning: function declaration isn't a prototype /opt/local/include/tkDecls.h:1155: error: parse error before 'Tk_Outline' /opt/local/include/tkDecls.h:1155: warning: function declaration isn't a prototype /opt/local/include/tkDecls.h:1156: error: parse error before 'Tk_Outline' /opt/local/include/tkDecls.h:1156: warning: function declaration isn't a prototype /opt/local/include/tkDecls.h:1157: error: parse error before 'Tk_Outline' /opt/local/include/tkDecls.h:1157: warning: function declaration isn't a prototype /opt/local/include/tkDecls.h:1158: error: parse error before 'GC' /opt/local/include/tkDecls.h:1158: warning: function declaration isn't a prototype /opt/local/include/tkDecls.h:1160: error: parse error before 'GC' /opt/local/include/tkDecls.h:1160: warning: function declaration isn't a prototype /opt/local/include/tkDecls.h:1162: error: parse error before 'Pixmap' /opt/local/include/tkDecls.h:1162: warning: function declaration isn't a prototype /opt/local/include/tkDecls.h:1163: error: parse error before 'XColor' /opt/local/include/tkDecls.h:1163: warning: function declaration isn't a prototype /opt/local/include/tkDecls.h:1167: error: parse error before 'Pixmap' /opt/local/include/tkDecls.h:1167: warning: function declaration isn't a prototype /opt/local/include/tkDecls.h:1173: error: parse error before 'Tk_ClassProcs' /opt/local/include/tkDecls.h:1173: warning: function declaration isn't a prototype /opt/local/include/tkDecls.h:1179: error: parse error before '*' token /opt/local/include/tkDecls.h:1179: warning: function declaration isn't a prototype /opt/local/include/tkDecls.h:1195: error: parse error before 'Drawable' /opt/local/include/tkDecls.h:1195: warning: function declaration isn't a prototype /opt/local/include/tkDecls.h:1196: warning: type defaults to 'int' in declaration of 'TkStubs' /opt/local/include/tkDecls.h:1196: warning: data definition has no type or storage class /opt/local/include/tkDecls.h:1201: error: parse error before '*' token /opt/local/include/tkDecls.h:1201: warning: type defaults to 'int' in declaration of 'tkStubsPtr' /opt/local/include/tkDecls.h:1201: warning: data definition has no type or storage class error: command '/usr/bin/gcc-4.0' failed with exit status 1
Error: Status 1 encountered during processing.
I've tryied searching on google, trac and mailing lists without success. Anyone who manage to install fetchmail or py-tkinter?
Regards. --Aurélien_______________________________________________ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
Thanks for the answer. I will try to open my first ticket on this. Let me the time to read https://svn.macosforge.org/projects/macports/wiki/TracTicketing . Regards. Le 16 oct. 06 à 11:58, Pierre Queinnec a écrit :
Hi Aurélien,
I was devising adding a variant for the fetchmailconf stuff (that depends on python) in Bug #10780, but never got to do it. As always, there is a dilemna between going either the variant way (+fetchmailconf, or -fetchmailconf, whatever's preferrable), or splitting it in two ports, fetchmail & fetchmailconf.
I think I'll add a variant named 'fetchmailconf', perhaps defaulting to it. You need to file a bug on py-tkinter, in the meantime I'll probably try to get a variant out. -- Pierre
Aurélien DEHAY wrote:
Hello all. I'm a new MacOSX user coming from Linux World. I'm trying to port my mail system from my linux to my brand new iMac. So, I'm trying to install fetchmail, but I can't install py-tkinter: ordinateur-de-aurelien-dehay:~ root# port install py-tkinter ---> Building py-tkinter with target build Error: Target com.apple.build returned: shell command "cd "/opt/ local/var/db/dports/build/ _opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate _dports_python_py-tkinter/work/Python-2.4.3/Modules" && /opt/local/ bin/python2.4 setup.py build" returned error 1 Command output: /opt/local/include/tkDecls.h:1154: error: parse error before '*' token /opt/local/include/tkDecls.h:1154: warning: function declaration isn't a prototype /opt/local/include/tkDecls.h:1155: error: parse error before 'Tk_Outline' /opt/local/include/tkDecls.h:1155: warning: function declaration isn't a prototype /opt/local/include/tkDecls.h:1156: error: parse error before 'Tk_Outline' /opt/local/include/tkDecls.h:1156: warning: function declaration isn't a prototype /opt/local/include/tkDecls.h:1157: error: parse error before 'Tk_Outline' /opt/local/include/tkDecls.h:1157: warning: function declaration isn't a prototype /opt/local/include/tkDecls.h:1158: error: parse error before 'GC' /opt/local/include/tkDecls.h:1158: warning: function declaration isn't a prototype /opt/local/include/tkDecls.h:1160: error: parse error before 'GC' /opt/local/include/tkDecls.h:1160: warning: function declaration isn't a prototype /opt/local/include/tkDecls.h:1162: error: parse error before 'Pixmap' /opt/local/include/tkDecls.h:1162: warning: function declaration isn't a prototype /opt/local/include/tkDecls.h:1163: error: parse error before 'XColor' /opt/local/include/tkDecls.h:1163: warning: function declaration isn't a prototype /opt/local/include/tkDecls.h:1167: error: parse error before 'Pixmap' /opt/local/include/tkDecls.h:1167: warning: function declaration isn't a prototype /opt/local/include/tkDecls.h:1173: error: parse error before 'Tk_ClassProcs' /opt/local/include/tkDecls.h:1173: warning: function declaration isn't a prototype /opt/local/include/tkDecls.h:1179: error: parse error before '*' token /opt/local/include/tkDecls.h:1179: warning: function declaration isn't a prototype /opt/local/include/tkDecls.h:1195: error: parse error before 'Drawable' /opt/local/include/tkDecls.h:1195: warning: function declaration isn't a prototype /opt/local/include/tkDecls.h:1196: warning: type defaults to 'int' in declaration of 'TkStubs' /opt/local/include/tkDecls.h:1196: warning: data definition has no type or storage class /opt/local/include/tkDecls.h:1201: error: parse error before '*' token /opt/local/include/tkDecls.h:1201: warning: type defaults to 'int' in declaration of 'tkStubsPtr' /opt/local/include/tkDecls.h:1201: warning: data definition has no type or storage class error: command '/usr/bin/gcc-4.0' failed with exit status 1 Error: Status 1 encountered during processing. I've tryied searching on google, trac and mailing lists without success. Anyone who manage to install fetchmail or py-tkinter? Regards. --Aurélien_______________________________________________ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
_______________________________________________ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
-- Aurélien
However, It would be fine to manage to compile fetchmail even without fetchmailconf, but I don't understand why tkinter does not compile, any hints? Regards. Le 16 oct. 06 à 11:58, Pierre Queinnec a écrit :
Hi Aurélien,
I was devising adding a variant for the fetchmailconf stuff (that depends on python) in Bug #10780, but never got to do it. As always, there is a dilemna between going either the variant way (+fetchmailconf, or -fetchmailconf, whatever's preferrable), or splitting it in two ports, fetchmail & fetchmailconf.
I think I'll add a variant named 'fetchmailconf', perhaps defaulting to it. You need to file a bug on py-tkinter, in the meantime I'll probably try to get a variant out. -- Pierre
Aurélien DEHAY wrote:
Hello all. I'm a new MacOSX user coming from Linux World. I'm trying to port my mail system from my linux to my brand new iMac. So, I'm trying to install fetchmail, but I can't install py-tkinter: ordinateur-de-aurelien-dehay:~ root# port install py-tkinter ---> Building py-tkinter with target build Error: Target com.apple.build returned: shell command "cd "/opt/ local/var/db/dports/build/ _opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate _dports_python_py-tkinter/work/Python-2.4.3/Modules" && /opt/local/ bin/python2.4 setup.py build" returned error 1 Command output: /opt/local/include/tkDecls.h:1154: error: parse error before '*' token /opt/local/include/tkDecls.h:1154: warning: function declaration isn't a prototype /opt/local/include/tkDecls.h:1155: error: parse error before 'Tk_Outline' /opt/local/include/tkDecls.h:1155: warning: function declaration isn't a prototype /opt/local/include/tkDecls.h:1156: error: parse error before 'Tk_Outline' /opt/local/include/tkDecls.h:1156: warning: function declaration isn't a prototype /opt/local/include/tkDecls.h:1157: error: parse error before 'Tk_Outline' /opt/local/include/tkDecls.h:1157: warning: function declaration isn't a prototype /opt/local/include/tkDecls.h:1158: error: parse error before 'GC' /opt/local/include/tkDecls.h:1158: warning: function declaration isn't a prototype /opt/local/include/tkDecls.h:1160: error: parse error before 'GC' /opt/local/include/tkDecls.h:1160: warning: function declaration isn't a prototype /opt/local/include/tkDecls.h:1162: error: parse error before 'Pixmap' /opt/local/include/tkDecls.h:1162: warning: function declaration isn't a prototype /opt/local/include/tkDecls.h:1163: error: parse error before 'XColor' /opt/local/include/tkDecls.h:1163: warning: function declaration isn't a prototype /opt/local/include/tkDecls.h:1167: error: parse error before 'Pixmap' /opt/local/include/tkDecls.h:1167: warning: function declaration isn't a prototype /opt/local/include/tkDecls.h:1173: error: parse error before 'Tk_ClassProcs' /opt/local/include/tkDecls.h:1173: warning: function declaration isn't a prototype /opt/local/include/tkDecls.h:1179: error: parse error before '*' token /opt/local/include/tkDecls.h:1179: warning: function declaration isn't a prototype /opt/local/include/tkDecls.h:1195: error: parse error before 'Drawable' /opt/local/include/tkDecls.h:1195: warning: function declaration isn't a prototype /opt/local/include/tkDecls.h:1196: warning: type defaults to 'int' in declaration of 'TkStubs' /opt/local/include/tkDecls.h:1196: warning: data definition has no type or storage class /opt/local/include/tkDecls.h:1201: error: parse error before '*' token /opt/local/include/tkDecls.h:1201: warning: type defaults to 'int' in declaration of 'tkStubsPtr' /opt/local/include/tkDecls.h:1201: warning: data definition has no type or storage class error: command '/usr/bin/gcc-4.0' failed with exit status 1 Error: Status 1 encountered during processing. I've tryied searching on google, trac and mailing lists without success. Anyone who manage to install fetchmail or py-tkinter? Regards. --Aurélien_______________________________________________ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
_______________________________________________ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
Hi Aurélien, I've pushed a new Portfile. The variants are now +ssl and +fetchmailconf. The default variants include both of them. Should you want to temporarily (while the bug on py-tkinter is still unresolved) use fetchmail without fetchmailconf, you can install it with something like: port install fetchmail -fetchmailconf As for the py-tkinter bug, I have no idea. You should assign the bug to the corresponding maintainer. HTH, -- Pierre Aurélien DEHAY wrote:
However, It would be fine to manage to compile fetchmail even without fetchmailconf, but I don't understand why tkinter does not compile, any hints?
Regards. Le 16 oct. 06 à 11:58, Pierre Queinnec a écrit :
Hi Aurélien,
I was devising adding a variant for the fetchmailconf stuff (that depends on python) in Bug #10780, but never got to do it. As always, there is a dilemna between going either the variant way (+fetchmailconf, or -fetchmailconf, whatever's preferrable), or splitting it in two ports, fetchmail & fetchmailconf.
I think I'll add a variant named 'fetchmailconf', perhaps defaulting to it. You need to file a bug on py-tkinter, in the meantime I'll probably try to get a variant out. -- Pierre
Aurélien DEHAY wrote:
Hello all. I'm a new MacOSX user coming from Linux World. I'm trying to port my mail system from my linux to my brand new iMac. So, I'm trying to install fetchmail, but I can't install py-tkinter: ordinateur-de-aurelien-dehay:~ root# port install py-tkinter ---> Building py-tkinter with target build Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_python_py-tkinter/work/Python-2.4.3/Modules" && /opt/local/bin/python2.4 setup.py build" returned error 1 Command output: /opt/local/include/tkDecls.h:1154: error: parse error before '*' token /opt/local/include/tkDecls.h:1154: warning: function declaration isn't a prototype /opt/local/include/tkDecls.h:1155: error: parse error before 'Tk_Outline' /opt/local/include/tkDecls.h:1155: warning: function declaration isn't a prototype /opt/local/include/tkDecls.h:1156: error: parse error before 'Tk_Outline' /opt/local/include/tkDecls.h:1156: warning: function declaration isn't a prototype /opt/local/include/tkDecls.h:1157: error: parse error before 'Tk_Outline' /opt/local/include/tkDecls.h:1157: warning: function declaration isn't a prototype /opt/local/include/tkDecls.h:1158: error: parse error before 'GC' /opt/local/include/tkDecls.h:1158: warning: function declaration isn't a prototype /opt/local/include/tkDecls.h:1160: error: parse error before 'GC' /opt/local/include/tkDecls.h:1160: warning: function declaration isn't a prototype /opt/local/include/tkDecls.h:1162: error: parse error before 'Pixmap' /opt/local/include/tkDecls.h:1162: warning: function declaration isn't a prototype /opt/local/include/tkDecls.h:1163: error: parse error before 'XColor' /opt/local/include/tkDecls.h:1163: warning: function declaration isn't a prototype /opt/local/include/tkDecls.h:1167: error: parse error before 'Pixmap' /opt/local/include/tkDecls.h:1167: warning: function declaration isn't a prototype /opt/local/include/tkDecls.h:1173: error: parse error before 'Tk_ClassProcs' /opt/local/include/tkDecls.h:1173: warning: function declaration isn't a prototype /opt/local/include/tkDecls.h:1179: error: parse error before '*' token /opt/local/include/tkDecls.h:1179: warning: function declaration isn't a prototype /opt/local/include/tkDecls.h:1195: error: parse error before 'Drawable' /opt/local/include/tkDecls.h:1195: warning: function declaration isn't a prototype /opt/local/include/tkDecls.h:1196: warning: type defaults to 'int' in declaration of 'TkStubs' /opt/local/include/tkDecls.h:1196: warning: data definition has no type or storage class /opt/local/include/tkDecls.h:1201: error: parse error before '*' token /opt/local/include/tkDecls.h:1201: warning: type defaults to 'int' in declaration of 'tkStubsPtr' /opt/local/include/tkDecls.h:1201: warning: data definition has no type or storage class error: command '/usr/bin/gcc-4.0' failed with exit status 1 Error: Status 1 encountered during processing. I've tryied searching on google, trac and mailing lists without success. Anyone who manage to install fetchmail or py-tkinter? Regards. --Aurélien_______________________________________________ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
_______________________________________________ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
_______________________________________________ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
Pierre Queinnec <pmq@macports.org> on Monday, October 16, 2006 at 2:58 AM -0800 wrote:
You need to file a bug on py-tkinter, in the meantime I'll probably try to get a variant out.
There is already a bug filed on py-tkinter. http://trac.macosforge.org/projects/macports/ticket/10891 But it installs for for me on 10.4.8 / Intel / Xcode 2.4 so I'm not sure what the problem is. Mark
Le 17 oct. 06 à 17:48, Mark Duling a écrit :
Pierre Queinnec <pmq@macports.org> on Monday, October 16, 2006 at 2:58 AM -0800 wrote:
You need to file a bug on py-tkinter, in the meantime I'll probably try to get a variant out.
There is already a bug filed on py-tkinter.
http://trac.macosforge.org/projects/macports/ticket/10891
But it installs for for me on 10.4.8 / Intel / Xcode 2.4 so I'm not sure what the problem is.
Ok! I've attached the file and send you the requested information in the opened ticket... However, I think I've found a very useful information about the problem cause: /opt/local/include/tk.h:94:23: error: X11/Xlib.h: No such file or directory (line 46). This file is in ./var/db/dports/software/XFree86/4.5.0_2/usr/X11R6/ include/X11/ Shouldn't a link from /opt/local/include to this directory is required to make all that sutff compile? I've got no /opt/local/ include/X11 Regards.
Mark
-- Aurélien
However, I think I've found a very useful information about the problem cause: /opt/local/include/tk.h:94:23: error: X11/Xlib.h: No such file or directory (line 46).
This file is in ./var/db/dports/software/XFree86/4.5.0_2/usr/X11R6/ include/X11/ Shouldn't a link from /opt/local/include to this directory is required to make all that sutff compile? I've got no /opt/local/ include/X11
With such a link, it compile much better, but something is wrong, I shouldn't have to create this link myself, maybe I didn't correctly installed XFree?
Regards.
Mark
-- Aurélien_______________________________________________ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
participants (3)
-
Aurélien DEHAY
-
Mark Duling
-
Pierre Queinnec