Re: Installing Gtk-Perl



Daniel Carrera wrote:

Speaking of installing Gtk-Perl...

I am having trouble with the Bonobo installation from Gtk-Perl-0.7008.

The usual "perl Makefile.PL; make; make install" doesn't install Bonobo.

When I go into the Bonobo directory, "perl Makefile.PL" shows no errors.
However, "make" does:

[daniel net104 Bonobo]$ make
make: *** No rule to make target
`/home/daniel/src/cpan/Gtk-Perl-0.7008/Bonobo/orbit.typemap', needed by
`pm_to_blib'.  Stop.

What is this 'orbit.typemap' file?
Hi,

I have a CVS version that contains the file. It tells xsubpp how to
map the C vars to Perl ones.

I have attached it in case that is the only file that is missing. (small)

HTH, Dermot
TYPEMAP
CORBA::Object               T_OBJREF
CORBA_char *                T_CORBACHAR
CORBA::ORB                  T_PTROBJ
CORBA::TypeCode             T_PTROBJ
PortableServer::POA         T_PTROBJ
PortableServer::POAManager  T_PTROBJ

INPUT
T_SERVANT
        $var = porbit_sv_to_servant ($arg)
T_OBJREF
        $var = porbit_sv_to_objref ($arg)
T_CORBACHAR
        $var = ($type)SvPV($arg,PL_na)

#####################################################################
OUTPUT
T_SERVANT
        $arg = porbit_servant_to_sv ($var);
T_OBJREF
        $arg = porbit_objref_to_sv ($var);
T_CORBACHAR
        sv_setpv((SV*)$arg, $var);
        CORBA_free ($var);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]