Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Aug 2004 11:56:28 +0400
From:      Vladimir Grebenschikov <vova@sw.ru>
To:        gnome@freebsd.org
Subject:   net/vino build error while portupgrade -a on marcus repo
Message-ID:  <1093766188.45911.9.camel@localhost>

next in thread | raw e-mail | index | archive | help

Hi

# pwd
/usr/ports/net/vino=20
# make clean all
...
=3D=3D=3D>  Extracting for vino-2.7.91
>> Checksum OK for vino-2.7.91.tar.bz2.
=3D=3D=3D>  Patching for vino-2.7.91
=3D=3D=3D>  Applying FreeBSD patches for vino-2.7.91
...
/usr/local/bin/orbit-idl-2 --nostubs -I /usr/local/share/idl/bonobo-
activation-2.0 ../server/GNOME_RemoteDesktop.idl
orbit-idl-2 2.11.2 compiling
  mode, show preprocessor errors, passes: skels common headers skel_impl
imodule

glib-mkenums    --fhead "#include <glib-object.h>\n" \
                --fhead "#include \"vino-enums.h\"\n\n" \
                --fprod "\n/* enumerations from \"@filename@\" */" \
                --fprod "\n#include \"@filename@\"\n" \
                --vhead "static const G@Type@Value _@enum_name@_values[]
=3D {" \
                --vprod "  { @VALUENAME@, \"@VALUENAME@\", \"@valuenick@
\" }," \
                --vtail "  { 0, NULL, NULL }\n};\n\n" \
                --vtail "GType\n@enum_name@_get_type (void)\n{\n" \
                --vtail "  static GType type =3D 0;\n\n" \
                --vtail "  if (!type)\n" \
                --vtail "    type =3D g_@type@_register_static
(\"@EnumName@\", _@enum_name@_values);\n\n" \
                --vtail "  return type;\n}\n\n" \
        ../server/vino-server.h         ../server/vino-prompt.h
> vino-enums.c
glib-mkenums: not found
gmake[3]: *** [vino-enums.c] =EF=DB=C9=C2=CB=C1 127
gmake[3]: Leaving directory
`/usr/ports/net/vino/work/vino-2.7.91/server'
gmake[2]: *** [all-recursive] =EF=DB=C9=C2=CB=C1 1
gmake[2]: Leaving directory
`/usr/ports/net/vino/work/vino-2.7.91/server'
gmake[1]: *** [all-recursive] =EF=DB=C9=C2=CB=C1 1
gmake[1]: Leaving directory `/usr/ports/net/vino/work/vino-2.7.91'
gmake: *** [all-recursive-am] =EF=DB=C9=C2=CB=C1 2
*** Error code 2

Stop in /usr/ports/net/vino.
# locate glib-mkenums
/usr/local/bin/glib-mkenums
# /usr/local/bin/glib-mkenums
/usr/local/bin/glib-mkenums: Command not found.
# head -n1 /usr/local/bin/glib-mkenums
#!/usr/bin/perl5 -w

# ls -l /usr/bin/perl*
lrwxr-xr-x  1 root  wheel  19 Aug 28 00:47 /usr/bin/perl -
> /usr/local/bin/perl
lrwxr-xr-x  1 root  wheel  19 Aug 28 00:47 /usr/bin/perl5.8.5 -
> /usr/local/bin/perl
# pkg_info -I perl\*
perl-5.8.5          Practical Extraction and Report Language
#

It was fresh installation of 5.3-BETA1 upgraded to -HEAD, perl was
installed from 5.3-BETA1 cd.

Something wrong with perl installation or with glib-mkenums interpreter
reference (I suspect second).

Anyway it can be easy workarounded by=20
ln -s /usr/local/bin/perl /usr/bin/perl5

--=20
Vladimir B. Grebenschikov
SWsoft Inc. vova@sw-soft.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1093766188.45911.9.camel>