all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#2280: 23.0.90; incorrect configuration
@ 2010-01-10  0:11 Chong Yidong
  2010-01-10  9:18 ` Peter Dyballa
  2012-05-16  7:35 ` Glenn Morris
  0 siblings, 2 replies; 12+ messages in thread
From: Chong Yidong @ 2010-01-10  0:11 UTC (permalink / raw)
  To: Peter Dyballa; +Cc: 2280

> > Going back to this bug report from Feb, did you manage to solve the
> > problem?
>
> I "patch" the "patched" configure script to either use the default /sw
> setting (for Fink) or I comment this block and uncomment my block
> which adds in paths to /opt/local (MacPorts). I just have to think of
> it before I start to configure.

Does the following patch solve the problem for you?

*** emacs/configure~	2009-12-30 20:38:31.000000000 -0500
--- emacs/configure	2010-01-09 19:09:55.000000000 -0500
***************
*** 2742,2747 ****
--- 2742,2752 ----
        GCC_TEST_OPTIONS="-I/sw/include -L/sw/lib"
        CPP="${CPP} ${GCC_TEST_OPTIONS}"
        NON_GCC_TEST_OPTIONS=${GCC_TEST_OPTIONS}
+     # Or use MacPorts packages if available.
+     elif test -d /opt/local/include && test -d /opt/local/lib; then
+       GCC_TEST_OPTIONS="-I/opt/local/include -L/opt/local/lib"
+       CPP="${CPP} ${GCC_TEST_OPTIONS}"
+       NON_GCC_TEST_OPTIONS=${GCC_TEST_OPTIONS}
      fi
    ;;
  
*** emacs/configure.in~	2010-01-04 05:35:18 +0000
--- emacs/configure.in	2010-01-10 00:09:03 +0000
***************
*** 475,480 ****
--- 475,485 ----
        GCC_TEST_OPTIONS="-I/sw/include -L/sw/lib"
        CPP="${CPP} ${GCC_TEST_OPTIONS}"
        NON_GCC_TEST_OPTIONS=${GCC_TEST_OPTIONS}
+     # Or use MacPorts packages if available.
+     elif test -d /opt/local/include && test -d /opt/local/lib; then
+       GCC_TEST_OPTIONS="-I/opt/local/include -L/opt/local/lib"
+       CPP="${CPP} ${GCC_TEST_OPTIONS}"
+       NON_GCC_TEST_OPTIONS=${GCC_TEST_OPTIONS}
      fi
    ;;






^ permalink raw reply	[flat|nested] 12+ messages in thread
* bug#2280: 23.0.90; incorrect configuration
@ 2010-01-02 21:32 Chong Yidong
  2010-01-02 22:49 ` Peter Dyballa
  0 siblings, 1 reply; 12+ messages in thread
From: Chong Yidong @ 2010-01-02 21:32 UTC (permalink / raw)
  To: Peter Dyballa; +Cc: 2280

Hi Peter,

Going back to this bug report from Feb, did you manage to solve the
problem?


> When I try to configure GNU Emacs to use the X11R7.4 installation from
> MacPorts, installed under /opt, the configure script commands:

> 	checking whether it is safe to define __EXTENSIONS__... yes
> 	checking whether gcc understands -Wno-pointer-sign... yes
> 	checking whether ln -s works... yes
> 	checking how to run the C preprocessor... cc -E -no-cpp-precomp -I/sw/include -L/sw/lib
> 	checking for a BSD-compatible install... /usr/bin/install -c
> 	checking for ranlib... ranlib

> i.e., it uses a completely not competent installation (that of Fink).






^ permalink raw reply	[flat|nested] 12+ messages in thread
* bug#2280: 23.0.90; incorrect configuration
@ 2009-02-11 16:39 Peter Dyballa
  0 siblings, 0 replies; 12+ messages in thread
From: Peter Dyballa @ 2009-02-11 16:39 UTC (permalink / raw)
  To: 2280

Hello!

The situation seems to be even worse than I described before! Passing  
to configure "--x-includes=/opt/local/include --x-libraries=/opt/ 
local/lib" I see now twice the inappropriate /sw containing lines  
(CVS update in-between):

checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E -no-cpp-precomp -I/sw/ 
include -L/sw/lib
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for AIX... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether gcc understands -Wno-pointer-sign... yes
checking whether ln -s works... yes
checking how to run the C preprocessor... cc -E -no-cpp-precomp -I/sw/ 
include -L/sw/lib
checking for a BSD-compatible install... /usr/bin/install -c
checking for ranlib... ranlib

and in the end configure reports:

   What compiler should emacs be built with?               gcc -I/sw/ 
include -L/sw/lib -Wno-pointer-sign -H -pipe -fPIC -mcpu=7450 - 
mtune=7450 -fast -mpim-altivec -ftree-vectorize -foptimize-register- 
move -freorder-blocks -freorder-blocks-and-partition -fthread-jumps - 
fpeephole -fno-crossjumping


Let's see how this builds!

--
Greetings

   Pete

If you don't find it in the index, look very carefully through the  
entire catalogue.
	–  Sears, Roebuck, and Co., Consumer's Guide, 1897










^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2012-05-18 16:33 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-10  0:11 bug#2280: 23.0.90; incorrect configuration Chong Yidong
2010-01-10  9:18 ` Peter Dyballa
2012-05-16  7:35 ` Glenn Morris
2012-05-16 12:42   ` Stefan Monnier
2009-02-11 10:42     ` Peter Dyballa
2012-05-16 17:17       ` Glenn Morris
2012-05-17  1:18         ` Stefan Monnier
2012-05-18  7:16           ` Glenn Morris
2012-05-18 16:33       ` Glenn Morris
  -- strict thread matches above, loose matches on Subject: below --
2010-01-02 21:32 Chong Yidong
2010-01-02 22:49 ` Peter Dyballa
2009-02-11 16:39 Peter Dyballa

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.