On 4/11/14, 1:20 PM, David T. wrote:
> Hi,
>
> I’m not particularly well-versed in using fink, although I have done so
> in the past. I am newly-installing fink on 10.9.2.
>
> I thought it might be nice to try out pwgen, which is listed in the Fink
> package database as available for Mavericks.
>

<snipping stuff irrelevant to the error at hand>

  I ran “fink
> install pwgen” which downloaded pwgen-2.06-1, but this resulted in the
> following problems:
>
> --------------------------------
> gcc -c -I/sw/include -DHAVE_DRAND48=1 -DHAVE_GETOPT_LONG=1   -O2 -Wall
> -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wshadow
> -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -pedantic
> pwgen.c -o pwgen.o
> warning: unknown warning option
> '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean
>        '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
> pwgen.c:32:28: error: array has incomplete element type 'struct option'
> struct option pwgen_options[] = {
>                             ^
> pwgen.c:32:8: note: forward declaration of 'struct option'
> struct option pwgen_options[] = {
>         ^
> pwgen.c:33:19: error: use of undeclared identifier 'no_argument'
>          { "alt-phonics", no_argument, 0, 'a' },
>                           ^
> pwgen.c:34:18: error: use of undeclared identifier 'no_argument'
>          { "capitalize", no_argument, 0, 'c' },
>                          ^
> pwgen.c:35:16: error: use of undeclared identifier 'no_argument'
>          { "numerals", no_argument, 0, 'n'},
>                        ^
> pwgen.c:36:15: error: use of undeclared identifier 'no_argument'
>          { "symbols", no_argument, 0, 'y'},
>                       ^
> pwgen.c:37:21: error: use of undeclared identifier 'required_argument'
>          { "num-passwords", required_argument, 0, 'N'},
>                             ^
> pwgen.c:38:14: error: use of undeclared identifier 'no_argument'
>          { "secure", no_argument, 0, 's' },
>                      ^
> pwgen.c:39:12: error: use of undeclared identifier 'no_argument'
>          { "help", no_argument, 0, 'h'},
>                    ^
> pwgen.c:40:19: error: use of undeclared identifier 'no_argument'
>          { "no-numerals", no_argument, 0, '0' },
>                           ^
> pwgen.c:41:21: error: use of undeclared identifier 'no_argument'
>          { "no-capitalize", no_argument, 0, 'A' },
>                             ^
> pwgen.c:42:12: error: use of undeclared identifier 'required_argument'
>          { "sha1", required_argument, 0, 'H' },
>                    ^
> pwgen.c:43:17: error: use of undeclared identifier 'no_argument'
>          { "ambiguous", no_argument, 0, 'B' },
>                         ^
> pwgen.c:44:17: error: use of undeclared identifier 'no_argument'
>          { "no-vowels", no_argument, 0, 'v' },
>                         ^
> pwgen.c:106:7: warning: implicit declaration of function 'getopt_long'
> is invalid in C99 [-Wimplicit-function-declaration]
>                  c = getopt_long(argc, argv, pw_options, pwgen_options, 0);
>                      ^
> 2 warnings and 13 errors generated.
> make: *** [pwgen.o] Error 1
> ### execution of make failed, exit code 2
> ### execution of /tmp/fink.ocsvn failed, exit code 2
> Removing runtime build-lock...
> Removing build-lock package...
> /sw/bin/dpkg-lockwait -r fink-buildlock-pwgen-2.06-1
> (Reading database ... 4452 files and directories currently installed.)
> Removing fink-buildlock-pwgen-2.06-1 ...
> Failed: phase compiling: pwgen-2.06-1 failed
>
> Before reporting any errors, please run "fink selfupdate" and try again.
>
> If you continue to have issues, please check to see if the FAQ on Fink's
> website solves the problem.  If not, ask on one (not both, please) of
> these mailing lists:
>
> The Fink Users List <fink-users@lists.sourceforge.net
> <mailto:fink-users@lists.sourceforge.net>>
> The Fink Beginners List <fink-beginn...@lists.sourceforge.net
> <mailto:fink-beginn...@lists.sourceforge.net>>,
>
> with a carbon copy to the maintainer:
>
> Beat Birkhofer <birkho...@users.sourceforge.net
> <mailto:birkho...@users.sourceforge.net>>
>
> Note that this is preferable to emailing just the maintainer directly,
> since most fink package maintainers do not have access to all possible
> hardware and software configurations.
>
> Please try to include the complete error message in your report.  This
> generally consists of a compiler line starting with e.g. "gcc" or "g++"
> followed by the actual error output from the compiler.
>
> Also include the following system information:
> Package manager version: 0.36.4
> Distribution version: selfupdate-rsync Fri Apr 11 12:50:53 2014, 10.9,
> x86_64
> Trees: local/main stable/main
> Xcode.app: 5.0
> Xcode command-line tools: 5.1.0.0.1.1396320587
> Max. Fink build jobs:  1
>
> -------------------------------------------------
>
> I am not sure what I need to do to fix this.
>
> TIA,
> David
>
>

I overlooked your system info a bit in the message I sent out off-list 
earlier.  I don't see this error on my own 10.9 setup (also with the 5.1 
CLI tools).  One thing that stands out a bit, though, is that you've got 
a mismatch between your Xcode.app and Xcode CLI versions, and that 
rarely works out well.

-- 
Alexander Hansen, Ph.D.
Fink User Liaison
My package updates: http://finkakh.wordpress.com/

------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to