Opened 11 years ago

Closed 11 years ago

#30581 closed defect (fixed)

emacs: configure picks up Fink headers and dependencies

Reported by: ballapete (Peter "Pete" Dyballa) Owned by: drkp (Dan Ports)
Priority: Normal Milestone:
Component: ports Version: 2.0.1
Keywords: Cc:
Port: emacs

Description

Hello!

The configure script has these lines:

 3158	  *-apple-darwin* )
 3159	    case "${canonical}" in
 3160	      i[3456]86-* )  machine=intel386 ;;
 3161	      powerpc-* )    machine=macppc ;;
 3162	      x86_64-* )     machine=amdx86-64 ;;
 3163	      * )            unported=yes ;;
 3164	    esac
 3165	    opsys=darwin
 3166	    # Define CPP as follows to make autoconf work correctly.
 3167	    CPP="${CC-cc} -E -no-cpp-precomp"
 3168	    # Use fink packages if available.
 3169	    if test -d /sw/include && test -d /sw/lib; then
 3170	      GCC_TEST_OPTIONS="-I/sw/include -L/sw/lib"
 3171	      CPP="${CPP} ${GCC_TEST_OPTIONS}"
 3172	      NON_GCC_TEST_OPTIONS=${GCC_TEST_OPTIONS}
 3173	    fi
 3174	  ;;

Due to the setting of Fink directories as roots for C header files and dylibs the configure script picks up wrong files and files to finish successfully. The script needs to be patched.

Mac OS X 10.6.8, Core i7, Sandy Bridge

Attachments (2)

patch (593 bytes) - added by ballapete (Peter "Pete" Dyballa) 11 years ago.
The Patch.
main.log (20.7 KB) - added by ballapete (Peter "Pete" Dyballa) 11 years ago.
The main.log file.

Download all attachments as: .zip

Change History (4)

Changed 11 years ago by ballapete (Peter "Pete" Dyballa)

Attachment: patch added

The Patch.

Changed 11 years ago by ballapete (Peter "Pete" Dyballa)

Attachment: main.log added

The main.log file.

comment:1 Changed 11 years ago by drkp (Dan Ports)

Cc: dports@… removed
Owner: changed from macports-tickets@… to dports@…
Status: newassigned
Summary: GNU Emacs 23.3 does not built due to missing for configure scriptemacs: configure picks up Fink headers and dependencies

comment:2 Changed 11 years ago by drkp (Dan Ports)

Resolution: fixed
Status: assignedclosed

In general, it's not supported to have both Fink and MacPorts installed simultaneously because there are a lot of ports that do things like this.

But that doesn't mean we shouldn't fix them when it's easy enough to do so. Patched in r81667.

Note: See TracTickets for help on using tickets.