Ticket #21684 (closed defect: fixed)
Error building GDM / gdm-session-worker.c
| Reported by: | lefsky@… | Owned by: | devans@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.8.0 |
| Keywords: | snowleopard | Cc: | cavinsays@…, sgaragagghu@…, sawtdk@…, thedoobs@…, fabianacossavella@… |
| Port: | gdm |
Description (last modified by macsforever2000@…) (diff)
While installing GDM, I received the following error related to the definition of a GdmSessionWorkerPrivate in gdm-session-worker.c
sudo port install gdm ---> Computing dependencies for gdm ---> Building gdm Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_gdm/work/gdm-2.26.1" && /usr/bin/make -j2 all " returned error 2 Command output: gdm-session-worker.c: In function 'gdm_session_worker_constructor': gdm-session-worker.c:2589: error: 'GdmSessionWorkerPrivate' has no member named 'server_address' gdm-session-worker.c:2592: error: 'GdmSessionWorkerPrivate' has no member named 'connection' gdm-session-worker.c:2592: error: 'GdmSessionWorkerPrivate' has no member named 'server_address' gdm-session-worker.c:2593: error: 'GdmSessionWorkerPrivate' has no member named 'connection' gdm-session-worker.c:2603: error: 'GdmSessionWorkerPrivate' has no member named 'connection' gdm-session-worker.c:2604: error: 'GdmSessionWorkerPrivate' has no member named 'connection' gdm-session-worker.c:2606: error: 'GdmSessionWorkerPrivate' has no member named 'connection' gdm-session-worker.c: In function 'gdm_session_worker_init': gdm-session-worker.c:2640: error: 'GdmSessionWorkerPrivate' has no member named 'environment' gdm-session-worker.c: In function 'gdm_session_worker_unwatch_child': gdm-session-worker.c:2649: error: 'GdmSessionWorkerPrivate' has no member named 'child_watch_id' gdm-session-worker.c:2652: error: 'GdmSessionWorkerPrivate' has no member named 'child_watch_id' gdm-session-worker.c:2653: error: 'GdmSessionWorkerPrivate' has no member named 'child_watch_id' gdm-session-worker.c: In function 'gdm_session_worker_finalize': gdm-session-worker.c:2671: error: 'GdmSessionWorkerPrivate' has no member named 'username' gdm-session-worker.c:2672: error: 'GdmSessionWorkerPrivate' has no member named 'username' gdm-session-worker.c:2673: error: 'GdmSessionWorkerPrivate' has no member named 'username' gdm-session-worker.c:2676: error: 'GdmSessionWorkerPrivate' has no member named 'arguments' gdm-session-worker.c:2677: error: 'GdmSessionWorkerPrivate' has no member named 'arguments' gdm-session-worker.c:2678: error: 'GdmSessionWorkerPrivate' has no member named 'arguments' gdm-session-worker.c:2681: error: 'GdmSessionWorkerPrivate' has no member named 'environment' gdm-session-worker.c:2682: error: 'GdmSessionWorkerPrivate' has no member named 'environment' gdm-session-worker.c:2683: error: 'GdmSessionWorkerPrivate' has no member named 'environment' make[3]: *** [gdm-session-worker.o] Error 1 make[3]: *** Waiting for unfinished jobs.... mv -f .deps/test-session.Tpo .deps/test-session.Po make[2]: *** [all] Error 2 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
Attachments
Change History
comment:2 Changed 4 years ago by macsforever2000@…
- Keywords gdm removed
- Cc lefsky@… removed
- Description modified (diff)
- Owner changed from macports-tickets@… to devans@…
comment:4 follow-up: ↓ 7 Changed 3 years ago by jmr@…
According to someone on the mailing list it's just a matter of including <pam/pam_appl.h> vs <security/pam_appl.h>.
comment:7 in reply to: ↑ 4 ; follow-up: ↓ 9 Changed 3 years ago by sawtdk@…
Replying to jmr@…:
According to someone on the mailing list it's just a matter of including <pam/pam_appl.h> vs <security/pam_appl.h>.
Can you explain how you would do that??
comment:9 in reply to: ↑ 7 ; follow-up: ↓ 10 Changed 3 years ago by pope@…
Replying to sawtdk@…:
Replying to jmr@…:
According to someone on the mailing list it's just a matter of including <pam/pam_appl.h> vs <security/pam_appl.h>.
Can you explain how you would do that??
So for 10.6, the correct header is <security/pam_appl.h>. However, a couple of patch files with the gdm are changing security/pam_appl.h to pam/appl.h to make it work with 10.5. I don't know what the right solution is other than to conditionally set what the patch files should be between OSes, but I just created a copy of the gdm port as a local project with my changes. It's ugly, but it worked for me to just get it done.
comment:10 in reply to: ↑ 9 ; follow-up: ↓ 13 Changed 3 years ago by sawtdk@…
Replying to pope@…:
Replying to sawtdk@…:
Replying to jmr@…:
According to someone on the mailing list it's just a matter of including <pam/pam_appl.h> vs <security/pam_appl.h>.
Can you explain how you would do that??
So for 10.6, the correct header is <security/pam_appl.h>. However, a couple of patch files with the gdm are changing security/pam_appl.h to pam/appl.h to make it work with 10.5. I don't know what the right solution is other than to conditionally set what the patch files should be between OSes, but I just created a copy of the gdm port as a local project with my changes. It's ugly, but it worked for me to just get it done.
Ahh it worked! I searched for the gdm-session-worker.c file; and changed the line " #include <pam/pam_appl.h> " to " #include <security/pam_appl.h> "
comment:11 Changed 3 years ago by sgaragagghu@…
yes, it works
comment:13 in reply to: ↑ 10 Changed 3 years ago by fabianacossavella@…
Replying to sawtdk@…:
Replying to pope@…:
Replying to sawtdk@…:
Replying to jmr@…:
According to someone on the mailing list it's just a matter of including <pam/pam_appl.h> vs <security/pam_appl.h>.
Can you explain how you would do that??
So for 10.6, the correct header is <security/pam_appl.h>. However, a couple of patch files with the gdm are changing security/pam_appl.h to pam/appl.h to make it work with 10.5. I don't know what the right solution is other than to conditionally set what the patch files should be between OSes, but I just created a copy of the gdm port as a local project with my changes. It's ugly, but it worked for me to just get it done.
Ahh it worked! I searched for the gdm-session-worker.c file; and changed the line " #include <pam/pam_appl.h> " to " #include <security/pam_appl.h> "
Hi, I have the same problem. Since I am not really an expert, where do I find this gdm-session-worker.c? I tried to locate it, but nothing happened.
Fabiana
comment:15 Changed 3 years ago by jmr@…
- Status changed from new to closed
- Keywords snowleopard added
- Resolution set to fixed


Cc Me!