Opened 13 years ago

Closed 13 years ago

Last modified 12 years ago

#13632 closed defect (duplicate)

problem with installing libcompat

Reported by: ckhuangf@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.5.2
Keywords: Cc:
Port:

Description (last modified by jmpp@…)

I got this error and had no clue to fix it. Anyone can help?

wireless695:libcompat chung$ sudo port install libcompat
Password:
Warning: No mirror sites on file for class opendarwin
--->  Fetching libcompat
--->  Attempting to fetch libcompat-4.6.2-RELEASE.tar.bz2 from http://svn.macports.org/repository/macports/distfiles/libcompat
--->  Verifying checksum(s) for libcompat
--->  Extracting libcompat
--->  Applying patches to libcompat
--->  Configuring libcompat
--->  Building libcompat with target all
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libcompat/work/libcompat" && bsdmake all " returned error 1
Command output: Warning: Object directory not changed from original /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libcompat/work/libcompat
cc -Os -pipe   -DLIBC_SCCS -DSYSLIBC_SCCS -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libcompat/work/libcompat/../libc/locale -fno-common  -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libcompat/work/libcompat/4.1/ascftime.c
cc -Os -pipe   -DLIBC_SCCS -DSYSLIBC_SCCS -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libcompat/work/libcompat/../libc/locale -fno-common  -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libcompat/work/libcompat/4.1/cftime.c
cc -Os -pipe   -DLIBC_SCCS -DSYSLIBC_SCCS -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libcompat/work/libcompat/../libc/locale -fno-common  -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libcompat/work/libcompat/4.1/ftime.c
cc -Os -pipe   -DLIBC_SCCS -DSYSLIBC_SCCS -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libcompat/work/libcompat/../libc/locale -fno-common  -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libcompat/work/libcompat/4.1/getpw.c
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libcompat/work/libcompat/4.1/getpw.c: In function 'getpw':
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libcompat/work/libcompat/4.1/getpw.c:56: error: 'L_cuserid' undeclared (first use in this function)
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libcompat/work/libcompat/4.1/getpw.c:56: error: (Each undeclared identifier is reported only once
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libcompat/work/libcompat/4.1/getpw.c:56: error: for each function it appears in.)
*** Error code 1

Stop in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libcompat/work/libcompat.

Error: Status 1 encountered during processing.
wireless695:libcompat chung$ 

Change History (5)

comment:1 Changed 13 years ago by boeyms@…

Could I ask which version of Mac OS X and Xcode you are using, and whether you are installing libcompat on its own or because it is listed as a dependency for something else? Hopefully others can confirm this, but I'm pretty sure that libcompat was only needed prior to Mac OS X 10.3 (Panther), so you should be able to do without it.

comment:2 Changed 13 years ago by jmpp@…

Description: modified (diff)
Milestone: Port Bugs

comment:3 Changed 13 years ago by afb@…

"4.6.2-RELEASE" sounds like something ported over from FreeBSD 4.6.2 (released in 2001)

comment:4 Changed 13 years ago by afb@…

Resolution: duplicate
Status: newclosed

Duplicate, #12853

comment:5 Changed 12 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.