#8378 closed defect (fixed)
BUG: wxWindows-2.4.2
Reported by: | aschenke@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.2 |
Keywords: | Cc: | blb@…, pguyot (Paul Guyot), mww@… | |
Port: |
Description
wxWindows version 2.4.2 fails to build properly on my system (PowerPC G4-based Mac running 10.4). Below is the error message:
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_graphics_wxWindows/work/wxWindows-2.4.2/build" && make" returned error 2 Command output: c++ -c -I./lib/wx/include/mac-2.4 -I../include -I/opt/local/include -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -no-cpp-precomp -fpascal-strings -I../src/mac/morefile -I/Developer/Headers/FlatCarbon -DWXMAC -DWXMAKINGDLL -O2 -MMD -fno-common -Wall -dynamic -fPIC -o choice.o ../src/mac/choice.cpp ../src/mac/choice.cpp: In member function 'virtual int wxChoice::DoInsert(const wxString&, int)': ../src/mac/choice.cpp:104: error: invalid conversion from 'const wxChar*' to 'unsigned char*' ../src/mac/choice.cpp:104: error: initializing argument 2 of 'void UMAAppendMenuItem(OpaqueMenuRef*, unsigned char*, SInt16, UInt8)' make: * [choice.o] Error 1
Change History (9)
comment:1 Changed 19 years ago by blb@…
comment:2 Changed 19 years ago by aschenke@…
Cc: | pguyot@… added |
---|
I personally don't need wxWindows. I felt I should report the issue since I happened to come across it. However, the following ports have library dependencies on wxWindows, and thus may not build correctly:
multimedia/mkvtoolnix ruby/rb-wxruby
If these can be changed to depend on wxWidgets instead, perhaps we can drop the wxWindows port? I will add the mkvtoolnix port maintainer as a CC; hopefully he can give some input an this issue.
comment:3 Changed 19 years ago by pguyot (Paul Guyot)
I can't install wxWidgets for now. DP cannot fetch wxWidgets-2.6.3-Patch-2.tar.gz.
comment:4 Changed 19 years ago by mww@…
(In reply to comment #3)
I can't install wxWidgets for now. DP cannot fetch wxWidgets-2.6.3-Patch-2.tar.gz.
bummer - downloading manually also doesn't work? When using a login for the ftp server, downloading works - this has been fixed for > 2 weeks now.
comment:5 Changed 19 years ago by whitley@…
FYI, according to the wxruby installation docs, wxWidgets 2.4 is required: http://wxruby.rubyforge.org/wiki/wiki.pl?Installation
That page specifically documents the need and the steps to build against 2.4, if both 2.4 and 2.6 are installed.
comment:7 Changed 18 years ago by pipping@…
Milestone: | → Port Bugs |
---|
comment:8 Changed 18 years ago by pguyot (Paul Guyot)
Resolution: | → fixed |
---|---|
Status: | new → closed |
I just trashed rb-wxruby (which should be replaced with rb-wxruby2) and trashed wxWindows.
Do you absolutely need wxWindows? The wxWidgets port is the new name and is much more recent, and at last check, builds fine.