Opened 17 years ago

Closed 17 years ago

Last modified 16 years ago

#13246 closed defect (worksforme)

cclient fails to build on Mac OS X 10.5 Leopard

Reported by: mitsu@… Owned by: pguyot (Paul Guyot)
Priority: Normal Milestone:
Component: ports Version: 1.5.2
Keywords: Cc: mitsu@…, pguyot (Paul Guyot), nox@…
Port:

Description

Attempting to build cclient yields the following error using MacPorts 1.520 on Leopard 10.5:

In file included from osdep.c:52:
tcp_unix.c: In function 'tcp_aopen':
tcp_unix.c:408: error: too many arguments to function 'setpgrp'
osdep.c: In function 'ssl_validate_cert':
osdep.c:562: warning: pointer targets in passing argument 1 of 'ssl_compare_hostnames' differ in signedness
osdep.c:562: warning: pointer targets in passing argument 2 of 'ssl_compare_hostnames' differ in signedness
osdep.c:571: warning: pointer targets in assignment differ in signedness
osdep.c:572: warning: pointer targets in passing argument 1 of 'ssl_compare_hostnames' differ in signedness
osdep.c:572: warning: pointer targets in passing argument 2 of 'ssl_compare_hostnames' differ in signedness
make[3]: *** [osdep.o] Error 1
make[2]: *** [osx] Error 2
make[1]: *** [OSTYPE] Error 2
make: *** [oxp] Error 2

Error: Status 1 encountered during processing.

Change History (8)

comment:1 Changed 17 years ago by nox@…

Cc: mitsu@… pguyot@… nox@… added
Milestone: Port Bugs
Owner: changed from macports-dev@… to pguyot@…
Summary: cclient fails to build on Mac OS X 10.5cclient fails to build on Mac OS X 10.5 Leopard

By the way, cclient is outdated.

comment:2 Changed 17 years ago by mitsu@…

Yeah, but it's required by php4 +imap -- I'm still using php4 since I've got some legacy php4 code around and most of my current work is Java.

comment:3 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)

Version: 1.5.01.5.2

It's required by php5 +imap too. Maybe Anthony was just saying that the cclient port provides an outdated version of the cclient software (and implying that maybe the current version fixes the problem you're reporting). An update to the cclient port was just provided on the mailing list, and I've filed it as ticket #13397.

comment:4 Changed 17 years ago by BjarneDMat

imap-uw and cclient share the same source file (ideally). imap-uw failed to build for me after upgrading to Mac OS X 10.5 Leopard. Thus I started looking into the issue and found that updating the Portfile to reflect the newest version of imap-uw solved my problems. Ticket numbers are #13397 and #13398

comment:5 Changed 17 years ago by charley@…

I can confirm that the patch in ticket #13397 allows me to build php5 with a working imap extension.

comment:6 Changed 17 years ago by pguyot (Paul Guyot)

I don't have Leopard here. Can someone check if the problem occurs with cclient 2007?

comment:7 Changed 17 years ago by pguyot (Paul Guyot)

Resolution: worksforme
Status: newclosed

No answer, closing.

comment:8 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.