Opened 19 years ago

Closed 19 years ago

Last modified 14 years ago

#7878 closed defect (fixed)

BUG: Squeak port install fails

Reported by: mail@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.2
Keywords: Cc: markd@…
Port: squeak

Description (last modified by jmroot (Joshua Root))

port install squeak fails Tried port clean --all squeak prior to install; still no joy. Please e-mail me if you need any further details.

Sample output as follows:

$ sudo port install squeak    
--->  Fetching squeak
--->  Attempting to fetch Squeak-3.7-7.src.tar.gz from ftp://st.cs.uiuc.edu/pub/Smalltalk/Squeak/3.8/unix-linux/
--->  Attempting to fetch SqueakV3.sources.gz from ftp://st.cs.uiuc.edu/Smalltalk/Squeak/3.8/
--->  Attempting to fetch Squeak3.8-6665-basic.zip from ftp://st.cs.uiuc.edu/Smalltalk/Squeak/3.8/
--->  Verifying checksum(s) for squeak
--->  Extracting squeak
--->  Configuring squeak
--->  Building squeak with target all
Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_lang_squeak/work/Squeak-3.7-7/build" && gnumake all" returned error 2
Command output: /bin/sh -ec 'gcc -MM -g -O2 -O3 -mcpu=750 -funroll-loops -I/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_lang_squeak/work/Squeak-3.7-7/build -I/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_lang_squeak/work/Squeak-3.7-7/platforms/unix/vm -I/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_lang_squeak/work/Squeak-3.7-7/platforms/Cross/vm -I/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_lang_squeak/work/Squeak-3.7-7/platforms/unix/vm-display-Quartz -I/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_lang_squeak/work/Squeak-3.7-7/platforms/Cross/plugins/B3DAcceleratorPlugin -I/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_lang_squeak/work/Squeak-3.7-7/platforms/unix/plugins/B3DAcceleratorPlugin /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_lang_squeak/work/Squeak-3.7-7/platforms/unix/vm-display-Quartz/sqUnixQuartz.m \
  | sed '\''s/\(sqUnixQuartz\)\.o[ :]*/\1.o sqUnixQuartz.d : /g'\'' > sqUnixQuartz.d; \
  [ -s sqUnixQuartz.d ] || rm -f sqUnixQuartz.d'
/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_lang_squeak/work/Squeak-3.7-7/platforms/unix/vm-display-Quartz/sqUnixQuartz.m:2601:27: error: OpenGL/OpenGL.h: No such file or directory
/bin/sh /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_lang_squeak/work/Squeak-3.7-7/build/libtool --mode=compile gcc -g -O2 -O3 -mcpu=750 -funroll-loops  -DHAVE_CONFIG_H  -I/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_lang_squeak/work/Squeak-3.7-7/build -I/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_lang_squeak/work/Squeak-3.7-7/platforms/unix/vm -I/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_lang_squeak/work/Squeak-3.7-7/platforms/Cross/vm -I/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_lang_squeak/work/Squeak-3.7-7/platforms/unix/vm-display-Quartz -I/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_lang_squeak/work/Squeak-3.7-7/platforms/Cross/plugins/B3DAcceleratorPlugin -I/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_lang_squeak/work/Squeak-3.7-7/platforms/unix/plugins/B3DAcceleratorPlugin   -c -o sqUnixQuartz.lo /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_lang_squeak/work/Squeak-3.7-7/platforms/unix/vm-display-Quartz/sqUnixQuartz.m
gcc -g -O2 -O3 -mcpu=750 -funroll-loops -DHAVE_CONFIG_H -I/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_lang_squeak/work/Squeak-3.7-7/build -I/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_lang_squeak/work/Squeak-3.7-7/platforms/unix/vm -I/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_lang_squeak/work/Squeak-3.7-7/platforms/Cross/vm -I/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_lang_squeak/work/Squeak-3.7-7/platforms/unix/vm-display-Quartz -I/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_lang_squeak/work/Squeak-3.7-7/platforms/Cross/plugins/B3DAcceleratorPlugin -I/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_lang_squeak/work/Squeak-3.7-7/platforms/unix/plugins/B3DAcceleratorPlugin -c /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_lang_squeak/work/Squeak-3.7-7/platforms/unix/vm-display-Quartz/sqUnixQuartz.m  -fno-common -DPIC -DPIC -o sqUnixQuartz.o
/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_lang_squeak/work/Squeak-3.7-7/platforms/unix/vm-display-Quartz/sqUnixQuartz.m: In function 'display_ioFormPrint':
/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_lang_squeak/work/Squeak-3.7-7/platforms/unix/vm-display-Quartz/sqUnixQuartz.m:362: warning: pointer targets in initialization differ in signedness
/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_lang_squeak/work/Squeak-3.7-7/platforms/unix/vm-display-Quartz/sqUnixQuartz.m: In function 'display_ioScreenSize':
/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_lang_squeak/work/Squeak-3.7-7/platforms/unix/vm-display-Quartz/sqUnixQuartz.m:663: warning: passing argument 2 of 'doLock' discards qualifiers from pointer target type
/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_lang_squeak/work/Squeak-3.7-7/platforms/unix/vm-display-Quartz/sqUnixQuartz.m: In function 'display_ioShowDisplay':
/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_lang_squeak/work/Squeak-3.7-7/platforms/unix/vm-display-Quartz/sqUnixQuartz.m:845: warning: passing argument 2 of 'doLock' discards qualifiers from pointer target type
/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_lang_squeak/work/Squeak-3.7-7/platforms/unix/vm-display-Quartz/sqUnixQuartz.m: In function '-[SqueakView setFrame:]':
/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_lang_squeak/work/Squeak-3.7-7/platforms/unix/vm-display-Quartz/sqUnixQuartz.m:2038: warning: passing argument 2 of 'doLock' discards qualifiers from pointer target type
/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_lang_squeak/work/Squeak-3.7-7/platforms/unix/vm-display-Quartz/sqUnixQuartz.m: In function '-[SqueakView insertText:]':
/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_lang_squeak/work/Squeak-3.7-7/platforms/unix/vm-display-Quartz/sqUnixQuartz.m:2245: warning: conflicting types for `-(void)insertText:(NSString *)text'
/System/Library/Frameworks/AppKit.framework/Headers/NSInputManager.h:16: warning: previous declaration of `-(void)insertText:(id)aString'
/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_lang_squeak/work/Squeak-3.7-7/platforms/unix/vm-display-Quartz/sqUnixQuartz.m:2601:27: error: OpenGL/OpenGL.h: No such file or directory
In file included from /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_lang_squeak/work/Squeak-3.7-7/platforms/unix/vm-display-Quartz/sqUnixQuartz.m:2604:
/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_lang_squeak/work/Squeak-3.7-7/platforms/Cross/plugins/B3DAcceleratorPlugin/sqOpenGLRenderer.h: At top level:
/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_lang_squeak/work/Squeak-3.7-7/platforms/Cross/plugins/B3DAcceleratorPlugin/sqOpenGLRenderer.h:13: error: redefinition of 'struct glRenderer'
/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_lang_squeak/work/Squeak-3.7-7/platforms/Cross/plugins/B3DAcceleratorPlugin/sqOpenGLRenderer.h:14: error: parse error before "GLint"
/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_lang_squeak/work/Squeak-3.7-7/platforms/Cross/plugins/B3DAcceleratorPlugin/sqOpenGLRenderer.h:14: warning: no semicolon at end of struct or union
/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_lang_squeak/work/Squeak-3.7-7/platforms/Cross/plugins/B3DAcceleratorPlugin/sqOpenGLRenderer.h:15: warning: data definition has no type or storage class
/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_lang_squeak/work/Squeak-3.7-7/platforms/Cross/plugins/B3DAcceleratorPlugin/sqOpenGLRenderer.h:16: error: parse error before '}' token
/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_lang_squeak/work/Squeak-3.7-7/platforms/Cross/plugins/B3DAcceleratorPlugin/sqOpenGLRenderer.h:16: warning: useless type name in empty declaration
/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_lang_squeak/work/Squeak-3.7-7/platforms/Cross/plugins/B3DAcceleratorPlugin/sqOpenGLRenderer.h:28: error: 'GL_NO_ERROR' undeclared here (not in a function)
/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_lang_squeak/work/Squeak-3.7-7/platforms/unix/vm-display-Quartz/sqUnixQuartz.m:2610: error: 'MAX_RENDERER' undeclared here (not in a function)
gnumake[1]: *** [sqUnixQuartz.lo] Error 1
gnumake: *** [vm-display-Quartz.la] Error 2

Error: /opt/local/bin/port: Status 1 encountered during processing.

Change History (4)

comment:1 Changed 19 years ago by mww@…

Summary: Squeak port install failsBUG: Squeak port install fails

comment:2 Changed 19 years ago by markd@…

Cc: markd@… added

It installs fine for me on 10.4.5 with Xcode Tools 2.2.1. I would try installing or re-installing the latest Xcode Tools because the OpenGL.h file is in directory /Developer on my Mac and yours appears to be missing.

comment:3 Changed 19 years ago by mail@…

Resolution: fixed
Status: newclosed

Installing latest Dev. Tools (Xcode v 2.2) fixed this one!

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

Description: modified (diff)
Port: squeak added
Note: See TracTickets for help on using tickets.