Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Feb 2006 19:37:04 GMT
From:      Chris Howells <howells@kde.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/93403: nxclient does not work, getopt errors
Message-ID:  <200602151937.k1FJb4Sn064999@www.freebsd.org>
Resent-Message-ID: <200602151940.k1FJe3Eb059865@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         93403
>Category:       misc
>Synopsis:       nxclient does not work, getopt errors
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 15 19:40:03 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Chris Howells
>Release:        6.0-RELEASE
>Organization:
KDE
>Environment:
FreeBSD frodo.devrandom.org.uk 6.0-RELEASE-p3 FreeBSD 6.0-RELEASE-p3 #1: Tue Jan 24 18:15:48 GMT 2006     root@frodo.devrandom.org.uk:/usr/obj/usr/src/sys/FRODO  i386
>Description:
This bug is about the net/freenx port.

The nxclient program (in /usr/X11R6/NX/bin/nxclient) does not run on FreeBSD due to a getopt error:

[17:11][chris@frodo:/usr/ports/net/freenx/files]$ /usr/X11R6/NX/bin/nxclient
getopt: illegal option -- o
Terminating...

With shell debugging:

chris@frodo$ bash -x /usr/X11R6/NX/bin/nxclient
+ bash -x /usr/X11R6/NX/bin/nxclient
+ NXCLIENT=/usr/NX/bin/nxclient
++ file -bi /usr/NX/bin/nxclient
+ '[' -x /usr/NX/bin/nxclient -a 'cannot open `/usr/NX/bin/nxclient'\'' (No such file or directory)' '!=' application/x-shellscript ']'
+++ basename /usr/X11R6/NX/bin/nxclient
++ getopt -a -o d: --long local,noautokill,dialog:,caption:,message:,display:,printer: -n nxclient --
getopt: illegal option -- o
+ TEMP=' -- d: --long local,noautokill,dialog:,caption:,message:,display:,printer: -n nxclient --'
+ '[' 1 '!=' 0 ']'
+ echo Terminating...
Terminating...
+ exit 1
chris@frodo$

>How-To-Repeat:
              
>Fix:
              
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200602151937.k1FJb4Sn064999>