From owner-freebsd-ports@freebsd.org Sun Feb 21 02:02:39 2016 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8E762AAF37C for ; Sun, 21 Feb 2016 02:02:39 +0000 (UTC) (envelope-from null@pozo.com) Received: from pozo.com (pozo.com [50.197.129.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "pozo.com", Issuer "pozo.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 76F4110A1; Sun, 21 Feb 2016 02:02:39 +0000 (UTC) (envelope-from null@pozo.com) Received: from octo.pozo.com (octo.pozo.com [192.168.0.2]) (authenticated bits=128) by pozo.com (8.15.2/8.15.2) with ESMTPA id u1L1vBsc023717; Sat, 20 Feb 2016 17:57:11 -0800 (PST) (envelope-from null@pozo.com) From: Manfred Antar Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: xtide 2.15 on FreeBSD-current amd64 Date: Sat, 20 Feb 2016 17:57:11 -0800 Message-Id: <86A01DE5-6592-4F9C-A224-F870F0C5517B@pozo.com> Cc: dave@flaterco.com To: vanilla@FreeBSD.org, FreeBSD Ports ML Mime-Version: 1.0 (Mac OS X Mail 9.2 \(3112\)) X-Mailer: Apple Mail (2.3112) X-Spam-Status: No, score=-102.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, URIBL_BLOCKED, USER_IN_WHITELIST autolearn=ham autolearn_force=no version=3.4.1, No X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on pozo.com X-pozocom-MailScanner-Information: Please contact the ISP for more information X-pozocom-MailScanner-ID: u1L1vBsc023717 X-pozocom-MailScanner: Found to be clean X-pozocom-MailScanner-From: null@pozo.com X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Feb 2016 02:02:39 -0000 Just upgraded xtide-2.14 to xtide-2.15 The programs xtide and tide work fine. The xttpd web interface is broken. I= t works fine on version 2.14. The errors for /var/log/messages: XTide Fatal Error: CANT_GET_SOCKET Xttpd was unable to bind its socket. C= ommon causes are (1) you tried to use the default port 80 without having ro= ot privileges; fix this by providing a usable port number (e.g., 8080) as t= he first command-line argument, or (2) there is already something running o= n the specified port, such as another web server. Error details: bind: Inv= alid argument. I start it with this script: #!/bin/sh HFILE_PATH=3D/usr/local/share/xtide/harmonics.tcd export HFILE_PATH WVS_DIR=3D/usr/local/share/xtide/wvs export WVS_DIR /usr/local/sbin/xttpd 8080 & exit 0 It has always worked in the past. Also same error on OS X El Capitan xtide and tide work there also but not x= ttpd. I put xttpd.cc from 2.14 in 2.15 source tree and recompiled, had to change = one line that had =E2=80=9CBAD_ADDRESS=E2=80=9D to =E2=80=9CADDRESS_FAIL=E2= =80=9D You can access it at: http://www.pozo.com:8080 Manfred