Random errors

From KeegansWiki
Revision as of 14:25, 14 October 2009 by Keegan (talk | contribs) (Created page with 'These are the errors that don't really go anywhere else. ==freetds-0.82 random false error== ===Error=== <pre> make[2]: Entering directory `/usr/local/src/freetds-0.82/src/r…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

These are the errors that don't really go anywhere else.

freetds-0.82 random false error

Error

    make[2]: Entering directory `/usr/local/src/freetds-0.82/src/replacements'
    /bin/bash ../../libtool --tag=CC --mode=link gcc -D_REENTRANT -pthreads -g -O2 -Wdeclaration-after-statement -o libreplacements.
        la iconv.lo gettimeofday.lo asprintf.lo vasprintf.lo readpassphrase.lo
    false cru .libs/libreplacements.a .libs/iconv.o .libs/gettimeofday.o .libs/asprintf.o .libs/vasprintf.o .libs/readpassphrase.o
    make[2]: *** [libreplacements.la] Error 1
    make[2]: Leaving directory `/usr/local/src/freetds-0.82/src/replacements'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/usr/local/src/freetds-0.82/src'
    make: *** [all-recursive] Error 1

Mitigation

This error was pretty easy to solve -- even though the error itself wasn't clear. If you look at the command just before the make error, you see 'false cru .libs/ ... ' It looks like it's trying to run the command false. So, i looked at the Makefile in the current src dir (./src/replacements as indicated by the first line in the errors message above), and searched for false. Oddly enough, i saw the line 'AR=false'. Looks like the configure script didn't find AR, so it called it false, which was kinda stupid.

Anyway, all I had to do to fix it was put the location of ar in my path (/usr/ccs/bin/ in solaris 10), reconfigure, and run make again. I tried doing --with=ar=/usr/ccs/bin/ar but that didn't work.


syslog-ng-1.6.9 flex error

Error

ld: fatal: library -ll: not found ld: fatal: File processing errors. No output written to syslog-ng collect2: ld returned 1 exit status

Mitigation

Install flex! I installed flex-2.5.4a with this version of syslog-ng.