Ticket #30631 (closed defect: worksforme)
kdegames4 tries to use non-standard OpenAL framework
| Reported by: | soehn@… | Owned by: | snc@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 2.0.1 |
| Keywords: | Cc: | sharky@…, michaelld@…, mk@… | |
| Port: | kdegames4 |
Description (last modified by snc@…) (diff)
kdegames4 tries to use OpenAL in /Library. I have attached the log-file.
Attachments
Change History
comment:1 Changed 4 years ago by jmr@…
- Owner changed from macports-tickets@… to snc@…
- Cc sharky@… added
Please remember to cc the maintainers.
comment:2 Changed 4 years ago by snc@…
- Cc michaelld@…, mk@… added
Is /Library/Frameworks/OpenAL standard to the Lion install? If not, we should forcibly define this in the KDE portgroup.
:info:build /Library/Frameworks/OpenAL.framework/Headers/al.h:87: error: ‘<anonymous>’ has incomplete type :info:build /Library/Frameworks/OpenAL.framework/Headers/al.h:87: error: invalid use of ‘ALvoid’ :info:build In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdegames4/kdegames4/work/kdegames-4.7.0/granatier/src/TagaroAudio/openalruntime_p.h:26,
comment:3 Changed 4 years ago by snc@…
- Status changed from new to assigned
I've verified that /Library/Frameworks is empty on a clean Lion install. We need to force OpenAL in the KDE PortGroup.
comment:4 follow-up: ↓ 5 Changed 4 years ago by snc@…
- Status changed from assigned to closed
- Resolution set to fixed
OpenAL forced in r82308. Please update, clean, and try again.
comment:5 in reply to: ↑ 4 Changed 4 years ago by soehn@…
- Status changed from closed to reopened
- Resolution fixed deleted
comment:6 Changed 4 years ago by snc@…
- Keywords lion removed
- Description modified (diff)
- Summary changed from kdegames4 does not build on Lion to kdegames4 tries to use non-standard OpenAL framework
Lovely. LD still thinks it should grab that non-standard OpenAL.
comment:7 Changed 4 years ago by michaelld@…
After checking the generated CMakeCache.txt file from kdegames4, SNC's changes to the KDE 1.1 PortGroup look good to me. Can the OP do:
sudo port clean kdegames4 sudo port selfupdate sudo port install kdegames4
and see if that works? Sometimes it takes a bit for changes to become public & your comment is just 1 hour after the change was made.
comment:8 follow-up: ↓ 9 Changed 4 years ago by snc@…
Also could you let us know what you installed on your system that put an OpenAL framework in your /Library? We can't reproduce without knowing which software to put there.
comment:9 in reply to: ↑ 8 Changed 4 years ago by soehn@…
Replying to snc@…:
Also could you let us know what you installed on your system that put an OpenAL framework in your /Library? We can't reproduce without knowing which software to put there.
That was just the key. I started investigating and noticed there are two versions installed. One very old one (1.0.1d) in /Library/frameworks and a newer one in /system/Library/frameworks (1.5). I decided to move the older version to a safe place. After that kdegames4 did build and runs fine. I will see if any app will miss the old framework... Thank you for your help.
comment:10 Changed 4 years ago by snc@…
- Status changed from reopened to closed
- Resolution set to worksforme

