User forums > Help
Problems making CB for OSX from wiki instructions
bnilsson:
Or maybe it is because of the transition from darwinports to macports?
All f the distfiles sites in this list seems to be own.
afb:
--- Quote from: bnilsson on September 26, 2006, 10:30:31 pm ---I have a problem getting the parts for this port install:
port install graphics/wxGTK
---> Fetching wxGTK
---> Attempting to fetch patch-soundsdl.diff from http://distfiles-od.opendarwin.org/wxGTK/2.6.3
---> Attempting to fetch patch-soundsdl.diff from http://distfiles-msn.opendarwin.org/wxGTK/2.6.3
---> Attempting to fetch patch-soundsdl.diff from http://distfiles-bay13.opendarwin.org/wxGTK/2.6.3
---> Attempting to fetch patch-soundsdl.diff from http://distfiles-od.opendarwin.org/
---> Attempting to fetch patch-soundsdl.diff from http://distfiles-msn.opendarwin.org/
---> Attempting to fetch patch-soundsdl.diff from http://distfiles-bay13.opendarwin.org/
Error: Target com.apple.fetch returned: fetch failed
Any suggestions?
--- End quote ---
Sorry, that one is mine:
http://www.algonet.se/~afb/wx/patch-soundsdl.diff
Put it in a directory "files", next to your Portfile:
--- Code: ---dports/graphics/wxGTK/Portfile
dports/graphics/wxGTK/files/patch-soundsdl.diff
--- End code ---
bnilsson:
Installation of wxGTK and codeblocks went without errors, but /Applications/CodeBlocks.app does not start.
Any suggestions?
afb:
--- Quote from: bnilsson on September 27, 2006, 11:08:13 am ---Installation of wxGTK and codeblocks went without errors, but /Applications/CodeBlocks.app does not start.
Any suggestions?
--- End quote ---
--- Code: ---/opt/local/bin/codeblocks --prefix=/opt/local
--- End code ---
Perhaps over-explicit, but just making sure...
The bundle is only used for the wxMac version,
maybe I should explain this better on the Wiki.
bnilsson:
The path seems to be ok.
At normal (double click on CodeBlocks.app) the console log it says:
Error: Unable to initialize gtk, is DISPLAY set properly?
Opening a Terminal window and issuing the command 'codeblocks' at prompt gives the same answer:
mc2-p039:~ bnilsson$ codeblocks
Error: Unable to initialize gtk, is DISPLAY set properly?
Opening a X11 terminal window and issuing the command 'codeblocks' at prompt gives the usual error (X11)dialog window saying resources cannot be found, and the following is displayed repeatedly in the terminal:
(codeblocks:3581): GLib-WARNING **: poll(2) failed due to: Invalid argument.
as long as the error dialog window is open.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version