Opened 15 years ago
Closed 15 years ago
#21599 closed defect (fixed)
Antigraingeometry 2.5 does not build on Snow Leopard
Reported by: | robert.e.rouse@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.8.0 |
Keywords: | LP64 | Cc: | nerdling (Jeremy Lavergne), ryandesign (Ryan Carsten Schmidt) |
Port: | antigraingeometry |
Description
I've searched and don't see a ticket for this. If there is, I apologize.
I get the following error.
sudo port install antigraingeometry ---> Computing dependencies for antigraingeometry ---> Building antigraingeometry 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_antigraingeometry/work/agg-2.5" && /usr/bin/make -j2 all " returned error 2 Command output: agg_mac_pmap.cpp:200: error: 'GraphicsImportGetImageDescription' was not declared in this scope agg_mac_pmap.cpp:207: error: 'GraphicsImportSetGWorld' was not declared in this scope agg_mac_pmap.cpp:208: error: 'GraphicsImportDraw' was not declared in this scope agg_mac_pmap.cpp: In member function 'bool agg::pixel_map::save_as_qt(const char*) const': agg_mac_pmap.cpp:232: error: 'struct FSSpec' has no member named 'vRefNum' agg_mac_pmap.cpp:232: error: 'struct FSSpec' has no member named 'parID' agg_mac_pmap.cpp:232: error: 'HGetVol' was not declared in this scope agg_mac_pmap.cpp:235: error: 'GraphicsExportComponent' was not declared in this scope agg_mac_pmap.cpp:235: error: expected `;' before 'ge' agg_mac_pmap.cpp:236: error: 'struct FSSpec' has no member named 'name' agg_mac_pmap.cpp:236: error: 'CopyCStringToPascal' was not declared in this scope agg_mac_pmap.cpp:240: error: 'GraphicsExporterComponentType' was not declared in this scope agg_mac_pmap.cpp:240: error: 'kQTFileTypePNG' was not declared in this scope agg_mac_pmap.cpp:240: error: 'ge' was not declared in this scope agg_mac_pmap.cpp:243: error: 'GraphicsExportSetInputGWorld' was not declared in this scope agg_mac_pmap.cpp:246: error: 'GraphicsExportSetOutputFile' was not declared in this scope agg_mac_pmap.cpp:249: error: 'GraphicsExportDoExport' was not declared in this scope agg_mac_pmap.cpp: In member function 'unsigned int agg::pixel_map::width() const': agg_mac_pmap.cpp:269: error: 'GetGWorldPixMap' was not declared in this scope agg_mac_pmap.cpp:271: error: 'GetPixBounds' was not declared in this scope agg_mac_pmap.cpp: In member function 'unsigned int agg::pixel_map::height() const': agg_mac_pmap.cpp:279: error: 'GetGWorldPixMap' was not declared in this scope agg_mac_pmap.cpp:281: error: 'GetPixBounds' was not declared in this scope agg_mac_pmap.cpp: In member function 'int agg::pixel_map::row_bytes() const': agg_mac_pmap.cpp:289: error: 'GetGWorldPixMap' was not declared in this scope agg_mac_pmap.cpp:290: error: 'GetPixDepth' was not declared in this scope make[3]: *** [libaggplatformmac_la-agg_mac_pmap.lo] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all-recursive] Error 1 Error: Status 1 encountered during processing.
Attachments (2)
Change History (9)
comment:1 Changed 15 years ago by robert.e.rouse@…
Cc: | robert.e.rouse@… added |
---|
comment:2 Changed 15 years ago by jmroot (Joshua Root)
Cc: | robert.e.rouse@… removed |
---|---|
Keywords: | LP64 added |
Port: | antigraingeometry added; Antigraingeometry removed |
Carbon, as usual.
Changed 15 years ago by nerdling (Jeremy Lavergne)
Attachment: | antigraingeometry.log added |
---|
debug log
comment:4 Changed 15 years ago by matthieu.jean.verstraete@…
Hello
installing with +universal makes port find the QD framework stuff, but it still gives an error: a bunch of deprecation warnings (no big deal) and then lipo complains about the format of a temporary file, which after the build attempt is not there at all (which could be the problem, or it may have been removed...). See below.
Cheers,
Matthieu
bash-3.2# port install antigraingeometry +universal ---> Computing dependencies for antigraingeometry ---> Building antigraingeometry 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_antigraingeometry/work/agg-2.5" && /usr/bin/make -j2 all " returned error 2 Command output: agg_mac_pmap.cpp: In member function 'bool agg::pixel_map::load_from_qt(const char*)': agg_mac_pmap.cpp:191: warning: 'HGetVol' is deprecated (declared at /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h:9205) agg_mac_pmap.cpp:191: warning: 'HGetVol' is deprecated (declared at /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h:9205) agg_mac_pmap.cpp:194: warning: 'CopyCStringToPascal' is deprecated (declared at /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextUtils.h:653) agg_mac_pmap.cpp:194: warning: 'CopyCStringToPascal' is deprecated (declared at /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextUtils.h:653) agg_mac_pmap.cpp: In member function 'bool agg::pixel_map::save_as_qt(const char*) const': agg_mac_pmap.cpp:232: warning: 'HGetVol' is deprecated (declared at /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h:9205) agg_mac_pmap.cpp:232: warning: 'HGetVol' is deprecated (declared at /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h:9205) agg_mac_pmap.cpp:236: warning: 'CopyCStringToPascal' is deprecated (declared at /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextUtils.h:653) agg_mac_pmap.cpp:236: warning: 'CopyCStringToPascal' is deprecated (declared at /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextUtils.h:653) agg_mac_pmap.cpp: In member function 'unsigned int agg::pixel_map::width() const': agg_mac_pmap.cpp:269: warning: 'GetGWorldPixMap' is deprecated (declared at /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QDOffscreen.h:484) agg_mac_pmap.cpp:269: warning: 'GetGWorldPixMap' is deprecated (declared at /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QDOffscreen.h:484) agg_mac_pmap.cpp:271: warning: 'GetPixBounds' is deprecated (declared at /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h:5353) agg_mac_pmap.cpp:271: warning: 'GetPixBounds' is deprecated (declared at /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h:5353) agg_mac_pmap.cpp: In member function 'unsigned int agg::pixel_map::height() const': agg_mac_pmap.cpp:279: warning: 'GetGWorldPixMap' is deprecated (declared at /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QDOffscreen.h:484) agg_mac_pmap.cpp:279: warning: 'GetGWorldPixMap' is deprecated (declared at /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QDOffscreen.h:484) agg_mac_pmap.cpp:281: warning: 'GetPixBounds' is deprecated (declared at /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h:5353) agg_mac_pmap.cpp:281: warning: 'GetPixBounds' is deprecated (declared at /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h:5353) agg_mac_pmap.cpp: In member function 'int agg::pixel_map::row_bytes() const': agg_mac_pmap.cpp:289: warning: 'GetGWorldPixMap' is deprecated (declared at /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QDOffscreen.h:484) agg_mac_pmap.cpp:289: warning: 'GetGWorldPixMap' is deprecated (declared at /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QDOffscreen.h:484) agg_mac_pmap.cpp:290: warning: 'GetPixDepth' is deprecated (declared at /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h:5368) agg_mac_pmap.cpp:290: warning: 'GetPixDepth' is deprecated (declared at /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h:5368) lipo: can't figure out the architecture type of: /var/tmp//ccYlpdVj.out make[3]: *** [libaggplatformmac_la-agg_mac_pmap.lo] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all-recursive] Error 1 Error: Status 1 encountered during processing.
comment:5 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… added |
---|
As of r67161 antigraingeometry will build on Snow Leopard, albeit only 32-bit.
comment:6 Changed 15 years ago by dbsgeo@…
can agg just be built without the bundled example GUI apps, which are likely not needed?
A quick hack and slash of the portfile got this working for me (universal on 10.5, but should work on 10.6):
portfile patch attached next...
springmeyer:agg-2.5 spring$ sudo port -f install antigraingeometry +universal ---> Computing dependencies for antigraingeometry ---> Configuring antigraingeometry ---> Building antigraingeometry ---> Staging antigraingeometry into destroot ---> Installing antigraingeometry @2.5_2+universal ---> Activating antigraingeometry @2.5_2+universal ---> Cleaning antigraingeometry springmeyer:agg-2.5 spring$ file /opt/local/lib/libagg.a /opt/local/lib/libagg.a: Mach-O universal binary with 2 architectures /opt/local/lib/libagg.a (for architecture x86_64): current ar archive /opt/local/lib/libagg.a (for architecture i386): current ar archive
Changed 15 years ago by dbsgeo@…
Attachment: | agg_without_gui_samples.patch added |
---|
comment:7 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Thanks! I agree, that works. I made these changes in r67250.
Cc Me!