Bugs item #1237697, was opened at 07/13/05 10:06
Message generated for change (Comment added) made by sf-robot
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1237697&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Build
Group: Python 2.4
>Status: Closed
Resolution: None
Priority: 5
Submitted By: OpenMacNews (blakers)
Assigned to: Nobody/Anonymous (nobody)
Summary: link path probs on OSX re: Tcl, Tk & fink's /sw

Initial Comment:
hi all,

i'm bldg Python 2.4.1 on OSX 10.4.1 ...

i've installed a late version of Tcl/Tk framework in:

   /Library/Frameworks/Tcl.framework
   /Library/Frameworks/Tk.framework

iiuc, these frameworks/libs are SUPPOSED to be searched PRIOR to /
System/Library/Frameworks ...

i've installed the Fink dev env in "/sw"

the Fink ev is 'disabled' o my box ... i.e., "/sw" is NOT in my path ...



that said, the Python build 'insists' on building against:

(1) the /System/... Tcl & Tk frameworks
(2) libs/includes in /sw/... (e.g., ndbm.h ...)

correcting the problem is INSENSITIVE to discreet inclusion of /Library/
Frameworks in LD_LIBRARY_PATH/DYLD_LIBRARY_PATH

only the build time spec'n of:

   setenv LDFLAGS "-L/Library/Frameworks -framework Tcl -framework 
Tk"

seems to do the trick ...

as for /sw, only a:

mv /sw /swTMP
( ... build ...)
mv /swTMP /sw

seems to work.

cheers,

richard


----------------------------------------------------------------------

>Comment By: SourceForge Robot (sf-robot)
Date: 07/17/06 19:21

Message:
Logged In: YES 
user_id=1312539

This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).

----------------------------------------------------------------------

Comment By: Martin v. Löwis (loewis)
Date: 07/03/06 05:36

Message:
Logged In: YES 
user_id=21627

It's not clear to me what the problem is that is being
reported here; it looks like a messed-up setup on the build
machine to me. Lowering the priority to "normal".

blakers, if the problem persists, it would be good if you
could start all over:
1) close this report
2) create a new report, indicating
   a) what you did
   b) what happened (stop your report at the first error,
      later errors might be follow-up)
   c) what you expected to happen instead.

----------------------------------------------------------------------

Comment By: OpenMacNews (blakers)
Date: 07/13/05 11:32

Message:
Logged In: YES 
user_id=564069

1st, i "lied" earlier ... i'm building on OSX 10.4.2, not 10.4.1.

AND, apparently, i still have a problem ... the WRONG HEADERS.

even with:

        setenv CPPFLAGS "-I/Library/Frameworks/Tcl.framework/Headers -I/
Library/Frameworks/Tcl.framework/Versions/Current/PrivateHeaders -I/
Library/Frameworks/Tk.framework/Headers -I/Library/Frameworks/
Tk.framework/Versions/Current/PrivateHeaders"

set prior to configure, the build 'make' STILL complains abt:

building '_tkinter' extension
gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wno-
long-double -no-cpp-precomp -mno-fused-madd -fno-common -dynamic -
DWITH_APPINIT=1 -I/System/Library/Frameworks/Tcl.framework/Headers -I/
System/Library/Frameworks/Tcl.framework/Versions/Current/PrivateHeaders -
I/System/Library/Frameworks/Tk.framework/Headers -I/System/Library/
Frameworks/Tk.framework/Versions/Current/PrivateHeaders -I/usr/X11R6/
include -I. -I/usr/ports/Python-2.4.1/./Include -I/usr/ports/Python-2.4.1/./Mac/
Include -I/usr/local/include -I/usr/ports/Python-2.4.1/Include -I/usr/ports/
Python-2.4.1 -c /usr/ports/Python-2.4.1/Modules/_tkinter.c -o build/
temp.darwin-8.2.0-Power_Macintosh-2.4/_tkinter.o -framework Tcl -
framework Tk
In file included from /System/Library/Frameworks/Tk.framework/Headers/tk.h:
96,
                 from /usr/ports/Python-2.4.1/Modules/_tkinter.c:67:
/System/Library/Frameworks/Tk.framework/Headers/X11/Xlib.h:140: warning: 
function declaration isn't a prototype
/System/Library/Frameworks/Tk.framework/Headers/X11/Xlib.h:343: warning: 
function declaration isn't a prototype
/System/Library/Frameworks/Tk.framework/Headers/X11/Xlib.h:462: warning: 
function declaration isn't a prototype
/System/Library/Frameworks/Tk.framework/Headers/X11/Xlib.h:480: warning: 
function declaration isn't a prototype
/System/Library/Frameworks/Tk.framework/Headers/X11/Xlib.h:505: warning: 
function declaration isn't a prototype
/System/Library/Frameworks/Tk.framework/Headers/X11/Xlib.h:506: warning: 
function declaration isn't a prototype
/System/Library/Frameworks/Tk.framework/Headers/X11/Xlib.h:518: warning: 
function declaration isn't a prototype
/System/Library/Frameworks/Tk.framework/Headers/X11/Xlib.h:531: warning: 
function declaration isn't a prototype
/System/Library/Frameworks/Tk.framework/Headers/X11/Xlib.h:1065: 
warning: function declaration isn't a prototype
powerpc-apple-darwin8-gcc-4.0.0: -framework: linker input file unused 
because linking not done
powerpc-apple-darwin8-gcc-4.0.0: Tcl: linker input file unused because 
linking not done
powerpc-apple-darwin8-gcc-4.0.0: -framework: linker input file unused 
because linking not done
powerpc-apple-darwin8-gcc-4.0.0: Tk: linker input file unused because 
linking not done
gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wno-
long-double -no-cpp-precomp -mno-fused-madd -fno-common -dynamic -
DWITH_APPINIT=1 -I/System/Library/Frameworks/Tcl.framework/Headers -I/
System/Library/Frameworks/Tcl.framework/Versions/Current/PrivateHeaders -
I/System/Library/Frameworks/Tk.framework/Headers -I/System/Library/
Frameworks/Tk.framework/Versions/Current/PrivateHeaders -I/usr/X11R6/
include -I. -I/usr/ports/Python-2.4.1/./Include -I/usr/ports/Python-2.4.1/./Mac/
Include -I/usr/local/include -I/usr/ports/Python-2.4.1/Include -I/usr/ports/
Python-2.4.1 -c /usr/ports/Python-2.4.1/Modules/tkappinit.c -o build/
temp.darwin-8.2.0-Power_Macintosh-2.4/tkappinit.o -framework Tcl -
framework Tk
In file included from /System/Library/Frameworks/Tk.framework/Headers/tk.h:
96,
                 from /usr/ports/Python-2.4.1/Modules/tkappinit.c:17:
/System/Library/Frameworks/Tk.framework/Headers/X11/Xlib.h:140: warning: 
function declaration isn't a prototype
/System/Library/Frameworks/Tk.framework/Headers/X11/Xlib.h:343: warning: 
function declaration isn't a prototype
/System/Library/Frameworks/Tk.framework/Headers/X11/Xlib.h:462: warning: 
function declaration isn't a prototype
/System/Library/Frameworks/Tk.framework/Headers/X11/Xlib.h:480: warning: 
function declaration isn't a prototype
/System/Library/Frameworks/Tk.framework/Headers/X11/Xlib.h:505: warning: 
function declaration isn't a prototype
/System/Library/Frameworks/Tk.framework/Headers/X11/Xlib.h:506: warning: 
function declaration isn't a prototype
/System/Library/Frameworks/Tk.framework/Headers/X11/Xlib.h:518: warning: 
function declaration isn't a prototype
/System/Library/Frameworks/Tk.framework/Headers/X11/Xlib.h:531: warning: 
function declaration isn't a prototype
/System/Library/Frameworks/Tk.framework/Headers/X11/Xlib.h:1065: 
warning: function declaration isn't a prototype
powerpc-apple-darwin8-gcc-4.0.0: -framework: linker input file unused 
because linking not done
powerpc-apple-darwin8-gcc-4.0.0: Tcl: linker input file unused because 
linking not done
powerpc-apple-darwin8-gcc-4.0.0: -framework: linker input file unused 
because linking not done
powerpc-apple-darwin8-gcc-4.0.0: Tk: linker input file unused because 
linking not done
gcc -L/Library/Frameworks -framework Tcl -framework Tk -bundle -undefined 
dynamic_lookup -L/Library/Frameworks -framework Tcl -framework Tk -I. -I./
Include build/temp.darwin-8.2.0-Power_Macintosh-2.4/_tkinter.o build/
temp.darwin-8.2.0-Power_Macintosh-2.4/tkappinit.o -L/usr/local/lib -o build/
lib.darwin-8.2.0-Power_Macintosh-2.4/_tkinter.so -framework Tcl -framework 
Tk
running build_scripts
creating build/scripts-2.4
copying and adjusting /usr/ports/Python-2.4.1/Tools/scripts/pydoc -> build/
scripts-2.4
copying and adjusting /usr/ports/Python-2.4.1/Tools/scripts/idle -> build/
scripts-2.4
copying and adjusting /usr/ports/Python-2.4.1/Lib/smtpd.py -> build/scripts-2.4
changing mode of build/scripts-2.4/pydoc from 644 to 755
changing mode of build/scripts-2.4/idle from 644 to 755
changing mode of build/scripts-2.4/smtpd.py from 644 to 755

cheers,

richard



----------------------------------------------------------------------

Comment By: OpenMacNews (blakers)
Date: 07/13/05 10:56

Message:
Logged In: YES 
user_id=564069

1st, i "lied" earlier ... i'm building on OSX 10.4.2, not 10.4.1.

AND, apparently, i still have a problem ... the WRONG HEADERS.

even with:

        setenv CPPFLAGS "-I/Library/Frameworks/Tcl.framework/Headers -I/
Library/Frameworks/Tcl.framework/Versions/Current/PrivateHeaders -I/
Library/Frameworks/Tk.framework/Headers -I/Library/Frameworks/
Tk.framework/Versions/Current/PrivateHeaders"

set prior to configure, the build 'make' STILL complains abt:

building '_tkinter' extension
gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wno-
long-double -no-cpp-precomp -mno-fused-madd -fno-common -dynamic -
DWITH_APPINIT=1 -I/System/Library/Frameworks/Tcl.framework/Headers -I/
System/Library/Frameworks/Tcl.framework/Versions/Current/PrivateHeaders -
I/System/Library/Frameworks/Tk.framework/Headers -I/System/Library/
Frameworks/Tk.framework/Versions/Current/PrivateHeaders -I/usr/X11R6/
include -I. -I/usr/ports/Python-2.4.1/./Include -I/usr/ports/Python-2.4.1/./Mac/
Include -I/usr/local/include -I/usr/ports/Python-2.4.1/Include -I/usr/ports/
Python-2.4.1 -c /usr/ports/Python-2.4.1/Modules/_tkinter.c -o build/
temp.darwin-8.2.0-Power_Macintosh-2.4/_tkinter.o -framework Tcl -
framework Tk
In file included from /System/Library/Frameworks/Tk.framework/Headers/tk.h:
96,
                 from /usr/ports/Python-2.4.1/Modules/_tkinter.c:67:
/System/Library/Frameworks/Tk.framework/Headers/X11/Xlib.h:140: warning: 
function declaration isn't a prototype
/System/Library/Frameworks/Tk.framework/Headers/X11/Xlib.h:343: warning: 
function declaration isn't a prototype
/System/Library/Frameworks/Tk.framework/Headers/X11/Xlib.h:462: warning: 
function declaration isn't a prototype
/System/Library/Frameworks/Tk.framework/Headers/X11/Xlib.h:480: warning: 
function declaration isn't a prototype
/System/Library/Frameworks/Tk.framework/Headers/X11/Xlib.h:505: warning: 
function declaration isn't a prototype
/System/Library/Frameworks/Tk.framework/Headers/X11/Xlib.h:506: warning: 
function declaration isn't a prototype
/System/Library/Frameworks/Tk.framework/Headers/X11/Xlib.h:518: warning: 
function declaration isn't a prototype
/System/Library/Frameworks/Tk.framework/Headers/X11/Xlib.h:531: warning: 
function declaration isn't a prototype
/System/Library/Frameworks/Tk.framework/Headers/X11/Xlib.h:1065: 
warning: function declaration isn't a prototype
powerpc-apple-darwin8-gcc-4.0.0: -framework: linker input file unused 
because linking not done
powerpc-apple-darwin8-gcc-4.0.0: Tcl: linker input file unused because 
linking not done
powerpc-apple-darwin8-gcc-4.0.0: -framework: linker input file unused 
because linking not done
powerpc-apple-darwin8-gcc-4.0.0: Tk: linker input file unused because 
linking not done
gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wno-
long-double -no-cpp-precomp -mno-fused-madd -fno-common -dynamic -
DWITH_APPINIT=1 -I/System/Library/Frameworks/Tcl.framework/Headers -I/
System/Library/Frameworks/Tcl.framework/Versions/Current/PrivateHeaders -
I/System/Library/Frameworks/Tk.framework/Headers -I/System/Library/
Frameworks/Tk.framework/Versions/Current/PrivateHeaders -I/usr/X11R6/
include -I. -I/usr/ports/Python-2.4.1/./Include -I/usr/ports/Python-2.4.1/./Mac/
Include -I/usr/local/include -I/usr/ports/Python-2.4.1/Include -I/usr/ports/
Python-2.4.1 -c /usr/ports/Python-2.4.1/Modules/tkappinit.c -o build/
temp.darwin-8.2.0-Power_Macintosh-2.4/tkappinit.o -framework Tcl -
framework Tk
In file included from /System/Library/Frameworks/Tk.framework/Headers/tk.h:
96,
                 from /usr/ports/Python-2.4.1/Modules/tkappinit.c:17:
/System/Library/Frameworks/Tk.framework/Headers/X11/Xlib.h:140: warning: 
function declaration isn't a prototype
/System/Library/Frameworks/Tk.framework/Headers/X11/Xlib.h:343: warning: 
function declaration isn't a prototype
/System/Library/Frameworks/Tk.framework/Headers/X11/Xlib.h:462: warning: 
function declaration isn't a prototype
/System/Library/Frameworks/Tk.framework/Headers/X11/Xlib.h:480: warning: 
function declaration isn't a prototype
/System/Library/Frameworks/Tk.framework/Headers/X11/Xlib.h:505: warning: 
function declaration isn't a prototype
/System/Library/Frameworks/Tk.framework/Headers/X11/Xlib.h:506: warning: 
function declaration isn't a prototype
/System/Library/Frameworks/Tk.framework/Headers/X11/Xlib.h:518: warning: 
function declaration isn't a prototype
/System/Library/Frameworks/Tk.framework/Headers/X11/Xlib.h:531: warning: 
function declaration isn't a prototype
/System/Library/Frameworks/Tk.framework/Headers/X11/Xlib.h:1065: 
warning: function declaration isn't a prototype
powerpc-apple-darwin8-gcc-4.0.0: -framework: linker input file unused 
because linking not done
powerpc-apple-darwin8-gcc-4.0.0: Tcl: linker input file unused because 
linking not done
powerpc-apple-darwin8-gcc-4.0.0: -framework: linker input file unused 
because linking not done
powerpc-apple-darwin8-gcc-4.0.0: Tk: linker input file unused because 
linking not done
gcc -L/Library/Frameworks -framework Tcl -framework Tk -bundle -undefined 
dynamic_lookup -L/Library/Frameworks -framework Tcl -framework Tk -I. -I./
Include build/temp.darwin-8.2.0-Power_Macintosh-2.4/_tkinter.o build/
temp.darwin-8.2.0-Power_Macintosh-2.4/tkappinit.o -L/usr/local/lib -o build/
lib.darwin-8.2.0-Power_Macintosh-2.4/_tkinter.so -framework Tcl -framework 
Tk
running build_scripts
creating build/scripts-2.4
copying and adjusting /usr/ports/Python-2.4.1/Tools/scripts/pydoc -> build/
scripts-2.4
copying and adjusting /usr/ports/Python-2.4.1/Tools/scripts/idle -> build/
scripts-2.4
copying and adjusting /usr/ports/Python-2.4.1/Lib/smtpd.py -> build/scripts-2.4
changing mode of build/scripts-2.4/pydoc from 644 to 755
changing mode of build/scripts-2.4/idle from 644 to 755
changing mode of build/scripts-2.4/smtpd.py from 644 to 755

cheers,

richard



----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1237697&group_id=5470
_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to