Opened 15 years ago

Last modified 15 years ago

#21795 closed defect

asymptote compile errors — at Initial Version

Reported by: a.random.chance@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: Cc:
Port: asymptote

Description

asymptote 1.85 failed to compile successfully.

---> Building asymptote 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_asymptote/work/asymptote-1.85" && /usr/bin/make -j2 all " returned error 2 Command output: Creating prc/PRCdouble.d Creating prc/PRCbitStream.d /usr/bin/g++-4.2 -Wall -ansi -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -DUSEGC -I/opt/local/include -O2 -arch x86_64 -I . -I/opt/local/include/gc -I/usr/include/gc -o prc/PRCbitStream.o -c prc/PRCbitStream.cc /usr/bin/g++-4.2 -Wall -ansi -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -DUSEGC -I/opt/local/include -O2 -arch x86_64 -I . -I/opt/local/include/gc -I/usr/include/gc -o prc/oPRCFile.o -c prc/oPRCFile.cc In file included from prc/PRCbitStream.cc:27: prc/PRCdouble.h:80:9: error: #error "Big/Little endian to be defined" prc/PRCbitStream.cc: In member function 'PRCbitStream& PRCbitStream::operator<<(double)': prc/PRCbitStream.cc:167: error: 'struct ieee754_double::<anonymous>' has no member named 'exponent' prc/PRCbitStream.cc:167: error: 'struct ieee754_double::<anonymous>' has no member named 'exponent' prc/PRCbitStream.cc:188: error: 'struct ieee754_double::<anonymous>' has no member named 'negative' prc/PRCbitStream.cc:193: error: 'struct ieee754_double::<anonymous>' has no member named 'mantissa0' prc/PRCbitStream.cc:193: error: 'struct ieee754_double::<anonymous>' has no member named 'mantissa1' prc/PRCbitStream.cc:209: error: 'NEXTBYTE' was not declared in this scope prc/PRCbitStream.cc:219: error: 'BEFOREBYTE' was not declared in this scope prc/PRCbitStream.cc:221: error: 'PREVIOUSBYTE' was not declared in this scope prc/PRCbitStream.cc:223: error: 'BEFOREBYTE' was not declared in this scope prc/PRCbitStream.cc:226: error: 'MOREBYTE' was not declared in this scope prc/PRCbitStream.cc:228: error: 'BEFOREBYTE' was not declared in this scope prc/PRCbitStream.cc:228: error: 'DIFFPOINTERS' was not declared in this scope prc/PRCbitStream.cc:228: error: 'SEARCHBYTE' was not declared in this scope prc/PRCbitStream.cc:240: error: 'BEFOREBYTE' was not declared in this scope prc/PRCbitStream.cc:240: error: 'MOREBYTE' was not declared in this scope prc/PRCbitStream.cc:256: error: 'DIFFPOINTERS' was not declared in this scope prc/PRCbitStream.cc:256: error: 'SEARCHBYTE' was not declared in this scope make: * [prc/PRCbitStream.o] Error 1 make: * Waiting for unfinished jobs.... Error: Status 1 encountered during processing. ---> Executing: /opt/local/bin/port install asymptote

To fix this I just cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_asymptote/work/asymptote-1.85

edit the Makefile to include -DWORDS_LITTLE_ENDIAN in the DEFS section

make all

I then went back and re-ran the macports install process, and it worked.

I didn't have time to figure out why the configure script failed to set this variable

Change History (0)

Note: See TracTickets for help on using tickets.