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.
As I had not used Fink on my new machine (under Mavericks), I followed the fink
installation information at
http://www.finkproject.org/download/srcdist.php?phpLang=en.
I installed the XCode command line tools, per instructions (“xcode-select
—install”).
I ran ./bootstrap, accepted the defaults, and when asked, installed XQuartz.
A number of mirrors were tried before various files were downloaded and
processed.
Ultimately, the installer crapped out with “ERROR: bootstrap phase 2 failed!”
Thinking that there may have been a cross up with the various downloads (I
received multiple pop up windows asking me whether I wanted to install
XQuartz), I ran pathsetup.sh anyway, closed out terminal and fired it up again.
I tried “fink selfupdate-rsync”, but it simply stopped responding. After a
number of problems that suggested that fink was having trouble compiling
apt-0.5.4-1061, I figured things were screwed up, so I deleted /sw entirely and
started over again.
This time, I told fink to compile from sources and limited the threads to 1.
Again, I got the phase 2 error, and again I ignored it. This time, I was able
to run “fink selfupdate” (choosing the default method, which I believe is
rsync), which completed successfully. Then 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>
The Fink Beginners List <fink-beginn...@lists.sourceforge.net>,
with a carbon copy to the maintainer:
Beat Birkhofer <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
------------------------------------------------------------------------------
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