Opened 16 years ago

Closed 13 years ago

#14396 closed defect (fixed)

Xercesc doesn't build with universal variant

Reported by: julian9@… Owned by: chris.ridd@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc: ryandesign (Ryan Carsten Schmidt), david.rekowski@…
Port: xercesc

Description

Xerces doesn't build with +universal variant. Tested in Leopard 10.5.2 on an Intel Mac.

Attachments (1)

Portfile-patch (362 bytes) - added by julian9@… 16 years ago.
Patch for building xercesc in universal variant

Download all attachments as: .zip

Change History (11)

comment:1 in reply to:  description ; Changed 16 years ago by julian9@…

Error messages:

$ sudo port install xercesc +universal
--->  Fetching xercesc
--->  Verifying checksum(s) for xercesc
--->  Extracting xercesc
--->  Configuring xercesc
Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_xercesc/work/xerces-c-src_2_8_0/src/xercesc" && ./runConfigure -P /opt/local -p macosx -n native --disable-dependency-tracking " returned error 1
Command output: Usage: runConfigure "options"
       where options may be any of the following:
       -p <platform> (accepts 'aix', 'beos', 'linux', 'freebsd', 
            'netbsd', 'solaris', 'hp-10', 'hp-11', 'openserver', 'unixware', 
            'os400', 'os390', 'irix', 'ptx', 'tru64', 'macosx', 'cygwin', 
            'qnx', 'interix', 'mingw-msys')
            [required; no default]
       -c <C compiler name> (e.g. gcc, cc, xlc_r, qcc, icc, icpc or ecc) 
            [default is make default; cc for gnu make]
       -x <C++ compiler name> (e.g. g++, CC, aCC, xlC_r, xlC_rv5compat, QCC,
            icc, icpc or ecc) [default is make default; g++ for gnu make]
       -d (specifies that you want to build debug version)
            [default: no debug]
       -m <message loader> can be 'inmem', 'icu', 'MsgFile' or 
            'iconv' [default: inmem]
       -n <net accessor> can be 'fileonly', 'libwww', 'socket', 'winsock' or 
            'native' [default: socket]
       -t <transcoder> can be 'icu', 'Iconv400', 'Uniconv390', 'Win32', 
             'IconvFBSD', 'IconvGNU' or 'native'
             [default: native]
       -r <thread option> can be 'pthread' or 'dce' 
             (AIX, HP-11, and Solaris) or  'sproc' (IRIX) or 'none'
             [default: pthread]
       -s (specifies that you want to build static libraries) [default: shared]
       -b <bitsToBuild> (accepts '64', '32') [default: 32]
       -l <extra linker options>
       -z <extra compiler options>
       -P <install-prefix>
       -C <any one extra configure options>
       -h (get help on the above commands)

Error: Status 1 encountered during processing.

comment:2 Changed 16 years ago by jmroot (Joshua Root)

Cc: chris.ridd@… added

Cc maintainer.

Changed 16 years ago by julian9@…

Attachment: Portfile-patch added

Patch for building xercesc in universal variant

comment:3 Changed 16 years ago by julian9@…

Cc: julian9@… added

Cc Me!

comment:4 Changed 15 years ago by jmroot (Joshua Root)

Cc: chris.ridd@… julian9@… removed
Owner: changed from macports-tickets@… to chris.ridd@…
Port: xercesc added

comment:5 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

comment:6 in reply to:  1 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added

Replying to julian9@…:

Command output: Usage: runConfigure "options"

I believe I have fixed this as part of r62014. I don't know if it now builds universal because I can't build it at all on Snow Leopard because of #20979 and #22287 and #22181 says it doesn't work on Leopard either. But if you are now able to build xercesc universal as a result of my change, please say so here.

comment:7 Changed 14 years ago by info@…

xercesx builds fine on Snow Leopard - but your fix doesn't help for building it universal.

Could you have a look to see if there's a fix for it?

comment:8 Changed 14 years ago by david.rekowski@…

Cc: david.rekowski@… added

Cc Me!

comment:9 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Has probable duplicate #29373.

comment:10 Changed 13 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed

r62014 was a long way off being correct. Fixed in r78758.

Note: See TracTickets for help on using tickets.