Subject: Re: problems linking graphivs/plotutils-nox11
To: Georg Schwarz <geos@epost.de>
From: Georg Schwarz <geos@epost.de>
List: tech-pkg
Date: 03/30/2004 23:22:27
> > > Building graphics/plotutils-nox11 (on IRIX 5.3) I end up with:
> > >=20
> > > /bin/ksh ../libtool --mode=3Dlink /usr/local/bin/g++  -O2
> >=20
> > ...
> >=20
> > > awk: record `/usr/local/bin/g++ -...' has too many fields
> > >  record number 1
> > > libtool: link: unable to infer tagged configuration
> > > libtool: link: specify a tag with `--tag'
> > > *** Error code 1
> >=20
> > I suspect this is caused by setting CXX to the absolute path of g++?
> > see my last mail about GCC_REQD=3D2.95, and let me know if that works.

Unfortunately, it turns out not make a difference:

/bin/ksh ../libtool --mode=3Dlink gcc  -O2 -I/usr/local/pkg/include -L/usr/=
local/pkg/gcc-2.95.3/lib/gcc-lib/mips-sgi-irix5.3/2.95.3 -Wl,-rpath,/usr/lo=
cal/pkg/gcc-2.95.3/lib/gcc-lib/mips-sgi-irix5.3/2.95.3 -L/usr/local/pkg/gcc=
-2.95.3/lib -Wl,-rpath,/usr/loc=
al/pkg/gcc-2.95.3/lib -L/usr/local/pkg/lib -Wl,-rpath,/usr/local/pkg/lib -o=
 libplot.la -rpath /usr/local/pkg/lib -version-info 4:1:2 apinewc.lo apiold=
c.lo  apioldcc.lo mi_alloc.lo mi_api.lo mi_arc.lo  mi_canvas.lo mi_fllarc.l=
o mi_fllrct.lo  mi_fplycon.lo=
 mi_gc.lo mi_ply.lo mi_plycon.lo  mi_plygen.lo mi_plypnt.lo mi_plyutil.lo  =
mi_spans.lo mi_widelin.lo mi_zerarc.lo  mi_zerolin.lo mi_version.lo g_affin=
e.lo  g_alabel.lo g_alab_her.lo g_arc.lo g_attrib.lo  g_bez.lo g_box.lo g_c=
irc.lo g_clipper.lo  g_closep=
l.lo g_colors.lo g_cntrlify.lo  g_dash.lo g_dash2.lo g_defplot.lo  g_defsta=
te.lo g_ellipse.lo g_endpath.lo  g_error.lo g_erase.lo g_flushpl.lo g_font.=
lo  g_fontdb.lo g_fontd2.lo g_havecap.lo  g_her_glyph.lo g_integer.lo g_lin=
e.lo  g_linewidth.lo g_mark.l=
o g_matrix.lo  g_miscmi.lo g_move.lo g_openpl.lo g_outbuf.lo  g_outfile.lo =
g_pagetype.lo g_param.lo  g_param2.lo g_path.lo g_pentype.lo g_point.lo  g_=
relative.lo g_range.lo g_retrieve.lo  g_savestate.lo g_space.lo g_subpaths.=
lo  g_vector.lo g_version.lo=20=
g_write.lo  g_xmalloc.lo g_xstring.lo b_closepl.lo  b_defplot.lo b_erase.lo=
 b_openpl.lo b_path.lo  b_point.lo m_attribs.lo m_closepl.lo  m_defplot.lo =
m_emit.lo m_erase.lo m_mark.lo  m_openpl.lo m_path.lo m_point.lo m_text.lo =
 t_attribs.lo t_closepl.lo t_=
color.lo  t_color2.lo t_defplot.lo t_erase.lo  t_openpl.lo t_path.lo t_poin=
t.lo t_tek_md.lo  t_tek_mv.lo t_tek_vec.lo r_attribs.lo  r_closepl.lo r_col=
or.lo r_defplot.lo  r_erase.lo r_openpl.lo r_path.lo r_point.lo  h_attribs.=
lo h_closepl.lo h_color.lo  h=
_defplot.lo h_erase.lo h_font.lo h_openpl.lo  h_path.lo h_point.lo h_text.l=
o f_closepl.lo  f_color.lo f_color2.lo f_defplot.lo f_erase.lo  f_openpl.lo=
 f_path.lo f_point.lo f_retrieve.lo  f_text.lo c_attribs.lo c_closepl.lo c_=
color.lo  c_defplot.lo c_emit=
.lo c_erase.lo c_mark.lo  c_openpl.lo c_path.lo c_point.lo c_text.lo  p_clo=
sepl.lo p_color.lo p_color2.lo  p_defplot.lo p_erase.lo p_openpl.lo p_path.=
lo  p_point.lo p_text.lo a_attribs.lo a_color.lo  a_closepl.lo a_defplot.lo=
 a_erase.lo  a_openpl.lo a_pa=
th.lo a_point.lo a_text.lo  s_closepl.lo s_color.lo s_defplot.lo  s_erase.l=
o s_openpl.lo s_path.lo s_point.lo  s_text.lo i_closepl.lo i_color.lo i_def=
plot.lo  i_erase.lo i_openpl.lo i_path.lo i_point.lo  i_rle.lo n_defplot.lo=
 n_write.lo z_defplot.lo  z_w=
rite.lo -lpng -lz -lmx
awk: record `gcc -O2 -I/usr/peopl...' has too many fields
 record number 1
libtool: link: unable to infer tagged configuration
libtool: link: specify a tag with `--tag'
*** Error code 1

Could the real problem be that awk is being used instead of
${AWK} (which differ on my system)?


--=20
Georg Schwarz    http://home.pages.de/~schwarz/
 geos@epost.de     +49 177 8811442