[MacPorts] #29915: swig-python, swig, pcre architecture problem...? when installing py26-sfepy

MacPorts noreply at macports.org
Fri Jun 24 11:21:15 PDT 2011


#29915: swig-python, swig, pcre architecture problem...? when installing py26-sfepy
---------------------------------------------------------------+------------
 Reporter:  eugene.geis@…                                      |       Owner:  macports-tickets@…                   
     Type:  defect                                             |      Status:  new                                  
 Priority:  Normal                                             |   Milestone:                                       
Component:  ports                                              |     Version:  1.9.2                                
 Keywords:  swig-python, pcre, swig, py26-sfepy, snow leopard  |        Port:  swig-python                          
---------------------------------------------------------------+------------
Description changed by ryandesign@…:

Old description:

> 2007 MacBook Pro
> 2.2 GHz Intel Core 2 Duo
> Newly installed Snow Leopard
> MacPorts 1.9.2
>
> Attempted to install py26-sfepy... package dependencies begin... gettext
> gives me an issue with architecture...
>
> I change to +universal variant for gettext and it works...
>
> Then gcc44 gives me another architecture problem.  I change the
> macports.conf file to default "i386" instead of "x86_64"... and I change
> universal binding to "i386 x86_64" instead of the original "i386 ppc".
> gcc44 now compiles.
>
> Then I get to swig-python.  Main clues in the logfile are as follows
> (STILL ARCHITECTURE!!):
> info:build ld: warning: in /opt/local/lib/libpcre.dylib, file is not of
> required architecture
> :info:build Undefined symbols:
> :info:build   "_pcre_version", referenced from:
> :info:build       _Swig_pcre_version in misc.o
> :info:build   "_pcre_compile", referenced from:
> :info:build       _Swig_string_regex in misc.o
> :info:build       _Swig_name_regexmatch_value in naming.o
> :info:build   "_pcre_free", referenced from:
> :info:build       _Swig_string_regex in misc.o
> :info:build       _Swig_string_regex in misc.o
> :info:build       _Swig_name_regexmatch_value in naming.o
> :info:build   "_pcre_exec", referenced from:
> :info:build       _Swig_string_regex in misc.o
> :info:build       _Swig_name_regexmatch_value in naming.o
> :info:build ld: symbol(s) not found
> :info:build collect2: ld returned 1 exit status
> :info:build make[2]: *** [eswig] Error 1
> :info:build make[1]: *** [all] Error 2
> :info:build make: *** [source] Error 2
>

> HELP!

New description:

 * 2007 MacBook Pro
  * 2.2 GHz Intel Core 2 Duo
  * Newly installed Snow Leopard
  * MacPorts 1.9.2

 Attempted to install py26-sfepy... package dependencies begin... gettext
 gives me an issue with architecture...

 I change to +universal variant for gettext and it works...

 Then gcc44 gives me another architecture problem.  I change the
 macports.conf file to default "i386" instead of "x86_64"... and I change
 universal binding to "i386 x86_64" instead of the original "i386 ppc".
 gcc44 now compiles.

 Then I get to swig-python.  Main clues in the logfile are as follows
 (STILL ARCHITECTURE!!):

 {{{
 info:build ld: warning: in /opt/local/lib/libpcre.dylib, file is not of
 required architecture
 :info:build Undefined symbols:
 :info:build   "_pcre_version", referenced from:
 :info:build       _Swig_pcre_version in misc.o
 :info:build   "_pcre_compile", referenced from:
 :info:build       _Swig_string_regex in misc.o
 :info:build       _Swig_name_regexmatch_value in naming.o
 :info:build   "_pcre_free", referenced from:
 :info:build       _Swig_string_regex in misc.o
 :info:build       _Swig_string_regex in misc.o
 :info:build       _Swig_name_regexmatch_value in naming.o
 :info:build   "_pcre_exec", referenced from:
 :info:build       _Swig_string_regex in misc.o
 :info:build       _Swig_name_regexmatch_value in naming.o
 :info:build ld: symbol(s) not found
 :info:build collect2: ld returned 1 exit status
 :info:build make[2]: *** [eswig] Error 1
 :info:build make[1]: *** [all] Error 2
 :info:build make: *** [source] Error 2
 }}}

 HELP!

--

-- 
Ticket URL: <https://trac.macports.org/ticket/29915#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list