net/vino build error while portupgrade -a on marcus repo

Vladimir Grebenschikov vova at sw.ru
Sun Aug 29 01:02:00 PDT 2004


Hi

# pwd
/usr/ports/net/vino 
# make clean all
...
===>  Extracting for vino-2.7.91
>> Checksum OK for vino-2.7.91.tar.bz2.
===>  Patching for vino-2.7.91
===>  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 at Type@Value _ at enum_name@_values[]
= {" \
                --vprod "  { @VALUENAME@, \"@VALUENAME@\", \"@valuenick@
\" }," \
                --vtail "  { 0, NULL, NULL }\n};\n\n" \
                --vtail "GType\n at enum_name@_get_type (void)\n{\n" \
                --vtail "  static GType type = 0;\n\n" \
                --vtail "  if (!type)\n" \
                --vtail "    type = g_ at type@_register_static
(\"@EnumName@\", _ at 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] Ошибка 127
gmake[3]: Leaving directory
`/usr/ports/net/vino/work/vino-2.7.91/server'
gmake[2]: *** [all-recursive] Ошибка 1
gmake[2]: Leaving directory
`/usr/ports/net/vino/work/vino-2.7.91/server'
gmake[1]: *** [all-recursive] Ошибка 1
gmake[1]: Leaving directory `/usr/ports/net/vino/work/vino-2.7.91'
gmake: *** [all-recursive-am] Ошибка 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 
ln -s /usr/local/bin/perl /usr/bin/perl5

-- 
Vladimir B. Grebenschikov
SWsoft Inc. vova at sw-soft.com


More information about the freebsd-gnome mailing list