I have lots of things in usr/local I can't possibly delete them, for instance that is where haxe is installed but I have lots of things in there I can't destroy my setup just to get macports working I am sure it was working along side this before. There is no /usr/local/include/ stdio.h file. I can compile the make for haxe using gcc46 that was installed via macports without problems in the past. Trying sudo port install perl5.16 configure.compiler=macports-gcc-4.6 but python26 is failing, so I try to install that separately... but now openssl is failing, I can post the log, but fairly sure I had python etc installed already.

My macports was working in the past.... just want to use it again, and can't destroy my usr/local folder.

The following ports are currently installed:
  atk @1.32.0_0 (active)
  autoconf @2.68_2 (active)
  autoconf263 @2.63_0 (active)
  automake @1.11.1_0
  automake @1.11.5_0 (active)
  boehmgc @7.1_2 (active)
  bzip2 @1.0.5_2
  bzip2 @1.0.6_0 (active)
  cairo @1.10.2_3+x11 (active)
  caml-findlib @1.2.7_0 (active)
  curl @7.21.6_0+ssl
  curl @7.25.0_0+ssl (active)
  curl-ca-bundle @7.21.2_4
  curl-ca-bundle @7.21.6_0
  curl-ca-bundle @7.25.0_0 (active)
  cvs @1.11.23_0 (active)
  db46 @4.6.21_6 (active)
  dbus @1.2.24_1 (active)
  docbook-xml @5.0_0 (active)
  docbook-xml-4.1.2 @4.1.2_1 (active)
  docbook-xml-4.2 @4.2_0 (active)
  docbook-xml-4.3 @4.3_0 (active)
  docbook-xml-4.4 @4.4_0 (active)
  docbook-xml-4.5 @4.5_0 (active)
  docbook-xml-5.0 @5.0_0 (active)
  docbook-xsl @1.76.1_0
  docbook-xsl @1.76.1_1 (active)
  expat @2.0.1_0
  expat @2.0.1_1
  expat @2.1.0_0 (active)
  flac @1.2.1_0
  flac @1.2.1_1 (active)
  fontconfig @2.8.0_0 (active)
  freetype @2.4.4_0
  freetype @2.4.9_1 (active)
  gcc46 @4.6-20110325_1 (active)
  gcc_select @0.1_5 (active)
  gdbm @1.8.3_3
  gdbm @1.10_1
  gdbm @1.10_2 (active)
  gdk-pixbuf2 @2.22.1_1 (active)
  getopt @1.1.4_1 (active)
  gettext @0.18.1.1_2 (active)
  glib2 @2.28.7_0
  glib2 @2.32.1_0 (active)
  gmp @5.0.1_1 (active)
  gnome-common @2.28.0_0 (active)
  gnome-doc-utils @0.20.6_0+python27 (active)
  gperf @3.0.4_0
  gperf @3.0.4_2 (active)
  gtk2 @2.24.4_0+x11 (active)
  gtk2-aurora @1.5.1_1 (active)
  help2man @1.39.3_0
  help2man @1.40.5_3 (active)
  intltool @0.40.6_0 (active)
  iso-codes @3.25.1_0
  iso-codes @3.32.2_0 (active)
  jasper @1.900.1_7 (active)
  jpeg @8c_0
  jpeg @8d_0 (active)
  libedit @20110802-3.0_0 (active)
  libffi @3.0.10_2
  libffi @3.0.11_0 (active)
  libiconv @1.13.1_0
  libiconv @1.14_0 (active)
  libidn @1.22_0 (active)
  libmikmod @3.2.0-beta2_2 (active)
  libmpc @0.9_0 (active)
  libogg @1.2.2_0
  libogg @1.3.0_1 (active)
  libpixman @0.22.0_0 (active)
  libpng @1.4.7_0
  libpng @1.4.11_0 (active)
  libSDL @1.2.15_0+x11 (active)
  libsdl_image @1.2.10_3
  libSDL_image @1.2.12_0 (active)
  libsdl_mixer @1.2.11_3
  libSDL_mixer @1.2.12_0 (active)
  libSDL_ttf @2.0.11_0 (active)
  libtool @2.4_0
  libtool @2.4.2_0 (active)
  libvorbis @1.3.2_0
  libvorbis @1.3.2_1 (active)
  libxml2 @2.7.8_0 (active)
  libxslt @1.1.26_0 (active)
  m4 @1.4.16_0 (active)
  mercurial @1.7.3_0
  mercurial @1.8.3_0 (active)
  mpfr @3.0.1-p3_0 (active)
  ncurses @5.8_0
  ncurses @5.9_0
  ncurses @5.9_1 (active)
  ncursesw @5.8_0 (active)
  ocaml @3.11.0_0
  ocaml @3.12.0_0 (active)
  openssl @1.0.0d_0
  openssl @1.0.1a_0 (active)
  p5-getopt-long @2.38_1 (active)
  p5-locale-gettext @1.05_5
  p5-pathtools @3.33_1 (active)
  p5-scalar-list-utils @1.23_1 (active)
  p5-xml-parser @2.40_1 (active)
  p5.12-locale-gettext @1.50.0_6 (active)
  pango @1.28.4_0+x11 (active)
  perl5.14 @5.14.2_1 (active)
  perl5.16 @5.16.0_1 (active)
  pkgconfig @0.25_2
  pkgconfig @0.26_1 (active)
  py27-libxml2 @2.6.21_0
  py27-libxml2 @2.7.8_0 (active)
  python26 @2.6.6_1
  python26 @2.6.6_3 (active)
  python27 @2.7.1_3
  python27 @2.7.3_0 (active)
  python_select @0.3_0
  python_select @0.3_1 (active)
  rarian @0.8.1_0 (active)
  readline @6.2.000_0 (active)
  shared-mime-info @0.90_0 (active)
  smpeg @0.4.4_9 (active)
  sqlite3 @3.7.5_0
  sqlite3 @3.7.6_0
  sqlite3 @3.7.11_0 (active)
  tiff @3.9.4_0
  tiff @3.9.5_0 (active)
  Xft2 @2.2.0_0 (active)
  xmlcatmgr @2.2_1 (active)
  xorg-bigreqsproto @1.1.1_0
  xorg-bigreqsproto @1.1.2_0 (active)
  xorg-compositeproto @0.4.2_0 (active)
  xorg-damageproto @1.2.1_0 (active)
  xorg-fixesproto @5.0_0 (active)
  xorg-inputproto @2.0.1_0
  xorg-inputproto @2.2_0 (active)
  xorg-kbproto @1.0.5_0
  xorg-kbproto @1.0.6_0 (active)
  xorg-libpthread-stubs @0.3_0 (active)
  xorg-libX11 @1.4.3_0
  xorg-libX11 @1.4.99.901_0 (active)
  xorg-libXau @1.0.6_0
  xorg-libXau @1.0.7_0 (active)
  xorg-libxcb @1.7_0+python27
  xorg-libxcb @1.8.1_1+python27 (active)
  xorg-libXcomposite @0.4.3_0 (active)
  xorg-libXcursor @1.1.11_0 (active)
  xorg-libXdamage @1.1.3_0 (active)
  xorg-libXdmcp @1.1.0_0
  xorg-libXdmcp @1.1.1_0 (active)
  xorg-libXext @1.3.0_0
  xorg-libXext @1.3.1_0 (active)
  xorg-libXfixes @5.0_0 (active)
  xorg-libXi @1.4.1_0 (active)
  xorg-libXinerama @1.1.1_0 (active)
  xorg-libXrandr @1.3.1_0
  xorg-libXrandr @1.3.2_0 (active)
  xorg-randrproto @1.3.2_0 (active)
  xorg-renderproto @0.11.1_0 (active)
  xorg-util-macros @1.14.0_0
  xorg-util-macros @1.17_0 (active)
  xorg-xcb-proto @1.6_0+python27
  xorg-xcb-proto @1.7.1_0+python27 (active)
  xorg-xcb-util @0.3.8_0 (active)
  xorg-xcmiscproto @1.2.1_0
  xorg-xcmiscproto @1.2.2_0 (active)
  xorg-xextproto @7.2.0_0
  xorg-xextproto @7.2.1_0 (active)
  xorg-xf86bigfontproto @1.2.0_0 (active)
  xorg-xineramaproto @1.2.1_0 (active)
  xorg-xproto @7.0.21_0
  xorg-xproto @7.0.23_0 (active)
  xorg-xtrans @1.2.6_0
  xorg-xtrans @1.2.7_0 (active)
  xrender @0.9.6_0
  xrender @0.9.7_0 (active)
  xz @5.0.2_0
  xz @5.0.3_0
  xz @5.0.4_0 (active)
  zlib @1.2.3_2
  zlib @1.2.5_0
  zlib @1.2.6_0
  zlib @1.2.7_0 (active)


On 10 Jul 2012, at 11:32, Ryan Schmidt wrote:

On Jul 10, 2012, at 04:22, [email protected] wrote:

sudo port update outdated

gives the following error log for perl...

:info:configure Use which C compiler? [/usr/bin/gcc-4.0]
:info:configure Checking for GNU cc in disguise and/or its version number... :info:configure try.c:1:19: error: /usr/local/include/stdio.h: Permission denied
:info:configure try.c: In function 'main':
:info:configure try.c:5: warning: incompatible implicit declaration of built-in function 'printf'
:info:configure *** WHOA THERE!!! ***
:info:configure Your C compiler "/usr/bin/gcc-4.0" doesn't seem to be working! :info:configure You'd better start hunting for one and let me know about it.


The file /usr/local/include/stdio.h is interfering with the build. Please delete it and anything else you may have in /usr/local, then clean perl5.12 and try again.


sudo port install perl5.12 configure.compiler=macports-gcc-4.6

:info:configure Use which C compiler? [/opt/local/bin/gcc-mp-4.6]
:info:configure gcc-mp-4.6: error: unrecognized option '-no-cpp- precomp' :info:configure Uh-oh, the C compiler '/opt/local/bin/gcc-mp-4.6' doesn't seem to be working. :info:configure gcc-mp-4.6: error: unrecognized option '-no-cpp- precomp' :info:configure Uh-oh, the C compiler '/opt/local/bin/gcc-mp-4.6' doesn't seem to be working.
:info:configure You need to find a working C compiler.
:info:configure Either (purchase and) install the C compiler supplied by your OS vendor,
:info:configure or for a free C compiler try http://gcc.gnu.org/
:info:configure I cannot continue any further, aborting.

The problem here is apparently that perl's configure process is adding the flag -no-cpp-precomp but gcc 4.6 does not understand it. You should report this problem to the developers of perl so that they can fix it. Try the perl5.16 port first to see if it's already fixed in that version.




_______________________________________________
macports-dev mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo/macports-dev

Reply via email to