On Fri, Dec 10, 2010 at 1:52 AM, Stacey Bright <[email protected]> wrote:
>
>
> Hi,
> I am trying to install gcc45.  And I get the error message below.

That message also indicates that the package which failed is texinfo,
not gcc45.  The fact that you want gcc45 eventually isn't really of
importance for the failure here.

>I am
> running on Mac OS X 10.6 Snow Leopard with Fink version 0.5.4.

That's the Fink _Commander_ version, which is also not of particular
importance, as it just runs the Fink command-line tools.  "fink -V |
head -n2" provides more useful information.

>I have
> attempted to install gcc44 and get the same error.

Presumably, both depend on texinfo, and in the Fink world, we expect
that you get the same results whenever building a package, even if
it's an error. :-)

>
> I would appreciate any help you can offer!
> Regards,
> Stacey
> .
> .
> .
<snip>


> gcc  -g -O2  -L/sw/lib -o ginfo dir.o display.o dribble.o echo-area.o
> filesys.o footnotes.o gc.o indices.o info-utils.o info.o infodoc.o infomap.o
> m-x.o man.o nodemenu.o nodes.o search.o session.o signals.o terminal.o
> tilde.o variables.o window.o doc.o ../lib/libtxi.a ../gnulib/lib/libgnu.a
> Undefined symbols:
>   "_tgetflag", referenced from:
>       _terminal_initialize_terminal in terminal.o
>       _terminal_initialize_terminal in terminal.o
>   "_ospeed", referenced from:
>       _terminal_initialize_terminal in terminal.o
>       _terminal_initialize_terminal in terminal.o
>   "_tgetent", referenced from:
>       _terminal_initialize_terminal in terminal.o
>   "_BC", referenced from:
>       _terminal_initialize_terminal in terminal.o
>   "_tputs", referenced from:
>       _terminal_ring_bell in terminal.o
>       _terminal_end_inverse in terminal.o
>       _terminal_begin_inverse in terminal.o
>       _terminal_down_line in terminal.o
>       _terminal_up_line in terminal.o
>       _terminal_clear_screen in terminal.o
>       _terminal_clear_to_eol in terminal.o
>       _terminal_unprep_terminal in terminal.o
>       _terminal_unprep_terminal in terminal.o
>       _terminal_prep_terminal in terminal.o
>       _terminal_prep_terminal in terminal.o
>       _terminal_goto_xy in terminal.o
>       _terminal_insert_lines in terminal.o
>       _terminal_insert_lines in terminal.o
>       _terminal_delete_lines in terminal.o
>       _terminal_delete_lines in terminal.o
>   "_tgetnum", referenced from:
>       _terminal_get_screen_size in terminal.o
>       _terminal_get_screen_size in terminal.o
>   "_PC", referenced from:
>       _terminal_initialize_terminal in terminal.o
>   "_tgetstr", referenced from:
>       _terminal_initialize_terminal in terminal.o
>       _terminal_initialize_terminal in terminal.o
>       _terminal_initialize_terminal in terminal.o
>       _terminal_initialize_terminal in terminal.o
>       _terminal_initialize_terminal in terminal.o
>       _terminal_initialize_terminal in terminal.o
>       _terminal_initialize_terminal in terminal.o
>       _terminal_initialize_terminal in terminal.o
>       _terminal_initialize_terminal in terminal.o
>       _terminal_initialize_terminal in terminal.o
>       _terminal_initialize_terminal in terminal.o
>       _terminal_initialize_terminal in terminal.o
>       _terminal_initialize_terminal in terminal.o
>       _terminal_initialize_terminal in terminal.o
>       _terminal_initialize_terminal in terminal.o
>       _terminal_initialize_terminal in terminal.o
>       _terminal_initialize_terminal in terminal.o
>       _terminal_initialize_terminal in terminal.o
>       _terminal_initialize_terminal in terminal.o
>       _terminal_initialize_terminal in terminal.o
>       _terminal_initialize_terminal in terminal.o
>       _terminal_initialize_terminal in terminal.o
>       _terminal_initialize_terminal in terminal.o
>       _terminal_initialize_terminal in terminal.o
>       _terminal_initialize_terminal in terminal.o
>       _terminal_initialize_terminal in terminal.o
>       _terminal_initialize_terminal in terminal.o
>       _terminal_initialize_terminal in terminal.o
>       _terminal_initialize_terminal in terminal.o
>       _terminal_initialize_terminal in terminal.o
>       _terminal_initialize_terminal in terminal.o
>       _terminal_initialize_terminal in terminal.o
>       _terminal_initialize_terminal in terminal.o
>   "_tgoto", referenced from:
>       _terminal_goto_xy in terminal.o
>       _terminal_insert_lines in terminal.o
>       _terminal_delete_lines in terminal.o
> ld: symbol(s) not found
> collect2: ld returned 1 exit status
> make[3]: *** [ginfo] Error 1
> make[2]: *** [all] Error 2
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
> ### execution of make failed, exit code 2

The missing symbols are supposed to be provided by
/sw/lib/ncurses/libncurses.5.dylib .  I got something different at the
same point in my (successful build):

gcc  -g -O2  -L/sw32/lib -o ginfo dir.o display.o dribble.o
echo-area.o filesys.o footnotes.o gc.o indices.o info-utils.o info.o
infodoc.o infomap.o m-x.o man.o nodemenu.o nodes.o search.o session.o
signals.o terminal.o tilde.o variables.o window.o doc.o
../lib/libtxi.a ../gnulib/lib/libgnu.a -lncurses -lintl -Wl,-framework
-Wl,CoreFoundation

I'm not sure what's causing the difference as of yet.  Go back to the
beginning of your output, and find lines like the following (you may
need to try to install texinfo again and capture a log file--Fink
Commander has an option to do that):

...
checking build system type... (cached) i386-apple-darwin10.5.0
checking for tgetent in -lncurses... yes
checking for library with termcap variables...
checking ncurses/termcap.h usability... no
checking ncurses/termcap.h presence... no
checking for ncurses/termcap.h... no
checking host system type... (cached) i386-apple-darwin10.5.0
checking whether NLS is requested... yes
checking for msgfmt... /sw32/bin/msgfmt
checking for gmsgfmt... /sw32/bin/msgfmt
checking for xgettext... /sw32/bin/xgettext
checking for msgmerge... /sw32/bin/msgmerge
checking for ld used by GCC... /usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld
checking if the linker (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld)
is GNU ld... no
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... yes
checking for CFLocaleCopyCurrent... yes
checking for GNU gettext in libc... no
checking for iconv... yes
checking for working iconv... yes
checking how to link with libiconv... -liconv
checking for GNU gettext in libintl... yes
checking whether to use NLS... yes
checking where the gettext function comes from... external libintl
checking how to link with libintl... -lintl -Wl,-framework -Wl,CoreFoundation
...

-- 
Alexander K. Hansen
akh AT finkproject DOT org
Fink User Liaison and Documenter

------------------------------------------------------------------------------
Oracle to DB2 Conversion Guide: Learn learn about native support for PL/SQL,
new data types, scalar functions, improved concurrency, built-in packages, 
OCI, SQL*Plus, data movement tools, best practices and more.
http://p.sf.net/sfu/oracle-sfdev2dev 
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to