Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#17335 closed defect (fixed)

libemf will not build -> pstoedit will not build

Reported by: bem@… Owned by: jjstickel@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc: arik.cj@…
Port: libemf

Description (last modified by blb@…)

libemf will not build with result that pstoedit can not be build

--->  Fetching libemf
--->  Verifying checksum(s) for libemf
--->  Extracting libemf
--->  Configuring libemf
--->  Building libemf with target all
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_libemf/work/libEMF-1.0.3" && make all " returned error 2
Command output: Making all in include
Making all in libEMF
make[2]: Nothing to be done for `all'.
make[2]: Nothing to be done for `all-am'.
Making all in libemf
if /bin/sh ../libtool --mode=compile /usr/bin/g++-4.0 -DHAVE_CONFIG_H -I. -I. -I../config -I../include  -I/opt/local/include  -O2 -D_REENTRANT -DPTHREADS -MT libemf.lo -MD -MP -MF ".deps/libemf.Tpo" -c -o libemf.lo libemf.cpp; \
	then mv -f ".deps/libemf.Tpo" ".deps/libemf.Plo"; else rm -f ".deps/libemf.Tpo"; exit 1; fi
mkdir .libs
 /usr/bin/g++-4.0 -DHAVE_CONFIG_H -I. -I. -I../config -I../include -I/opt/local/include -O2 -D_REENTRANT -DPTHREADS -MT libemf.lo -MD -MP -MF .deps/libemf.Tpo -c libemf.cpp  -fno-common -DPIC -o .libs/libemf.o
In file included from ../include/libEMF/wine/windef.h:16,
                 from ../include/libEMF/emf.h:27,
                 from libemf.h:31,
                 from libemf.cpp:23:
../include/libEMF/wine/winnt.h:45:3: error: #error Unknown CPU architecture!
../include/libEMF/wine/winnt.h:1051:2: error: #error You need to define a CONTEXT for your CPU
../include/libEMF/wine/winnt.h:1054: error: expected initializer before '*' token
../include/libEMF/wine/winnt.h:2294: error: 'PCONTEXT' does not name a type
../include/libEMF/wine/winnt.h:2307: error: 'PCONTEXT' has not been declared
../include/libEMF/wine/winbase.h:120: error: 'PCONTEXT' does not name a type
../include/libEMF/wine/winbase.h:1243: error: 'CONTEXT' has not been declared
../include/libEMF/wine/winbase.h:1377: error: expected ',' or '...' before '*' token
../include/libEMF/wine/winbase.h:1377: error: ISO C++ forbids declaration of 'CONTEXT' with no type
make[1]: *** [libemf.lo] Error 1
make: *** [all-recursive] Error 1

Error: Status 1 encountered during processing.

Change History (6)

comment:1 Changed 15 years ago by bem@…

System, G5 OS X 10.5

comment:2 Changed 15 years ago by blb@…

Description: modified (diff)
Owner: changed from macports-tickets@… to jjstickel@…

This could be a PowerPC issue, as I see it's doing stuff under a wine/ subdirectory and they may not have support for PPC.

comment:3 Changed 15 years ago by jjstickel@…

I don't have a PPC for debugging this. I'm not sure it is worth the effort to get this working on PPC. Is there a way to restrict the port to Intel, and then to have architecture specific dependencies in pstoedit?

comment:4 Changed 15 years ago by tobypeterson

Resolution: fixed
Status: newclosed

I committed r42750 which should fix this, but I didn't test it.

comment:5 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

comment:6 Changed 15 years ago by arik.cj@…

Cc: arik.cj@… added

Cc Me!

Note: See TracTickets for help on using tickets.