Re: Error on Make command - gcc: odule_wrap.o: No such file or directory

[email protected] (KirovAirShip)
Newsgroups perl.dbi.users
Message-ID <[email protected]>
Try copy the line
gcc -shared -L/usr/local/lib odule_wrap.o -o blib/arch/auto/odule/module.so
to your console
run it.

Can gcc find the file "odule_wrap.o" ?

On Wed, Nov 24, 2010 at 1:30 PM, Mike Towery <[email protected]> wrote:

> I got the following error on the make command.  Any help would be
> appreciated
>
> root@l2rac2 perl_db_upgrade]# cd DBI*
> [root@l2rac2 DBI-1.615]# perl /usr/lib/swig1.3/perl5/Makefile.pl
> Checking if your kit is complete...
> Looks good
> Writing Makefile for $module
> [root@l2rac2 DBI-1.615]# make
> cp lib/DBD/Proxy.pm blib/lib/DBD/Proxy.pm
> cp lib/DBI/Gofer/Response.pm blib/lib/DBI/Gofer/Response.pm
> cp lib/DBI/Gofer/Transport/Base.pm blib/lib/DBI/Gofer/Transport/Base.pm
> cp lib/DBI/Util/_accessor.pm blib/lib/DBI/Util/_accessor.pm
> cp lib/DBD/DBM.pm blib/lib/DBD/DBM.pm
> cp lib/DBI/Gofer/Serializer/DataDumper.pm
> blib/lib/DBI/Gofer/Serializer/DataDumper.pm
> cp lib/DBI/Const/GetInfoType.pm blib/lib/DBI/Const/GetInfoType.pm
> cp dbixs_rev.pl blib/lib/dbixs_rev.pl
> cp lib/DBI/DBD/Metadata.pm blib/lib/DBI/DBD/Metadata.pm
> cp lib/DBD/Gofer/Transport/pipeone.pm blib/lib/DBD/Gofer/Transport/
> pipeone.pm
> cp lib/DBI/Const/GetInfo/ODBC.pm blib/lib/DBI/Const/GetInfo/ODBC.pm
> cp lib/DBI/ProfileDumper/Apache.pm blib/lib/DBI/ProfileDumper/Apache.pm
> cp lib/DBD/File/Roadmap.pod blib/lib/DBD/File/Roadmap.pod
> cp lib/DBD/File.pm blib/lib/DBD/File.pm
> cp lib/DBI/Util/CacheMemory.pm blib/lib/DBI/Util/CacheMemory.pm
> cp lib/DBI/ProfileSubs.pm blib/lib/DBI/ProfileSubs.pm
> cp lib/DBD/NullP.pm blib/lib/DBD/NullP.pm
> cp lib/DBD/Gofer.pm blib/lib/DBD/Gofer.pm
> cp lib/DBD/File/HowTo.pod blib/lib/DBD/File/HowTo.pod
> cp lib/DBI/DBD/SqlEngine/HowTo.pod blib/lib/DBI/DBD/SqlEngine/HowTo.pod
> cp lib/DBD/Gofer/Transport/Base.pm blib/lib/DBD/Gofer/Transport/Base.pm
> cp lib/DBI/FAQ.pm blib/lib/DBI/FAQ.pm
> cp lib/DBD/Gofer/Policy/rush.pm blib/lib/DBD/Gofer/Policy/rush.pm
> cp lib/DBI/SQL/Nano.pm blib/lib/DBI/SQL/Nano.pm
> cp lib/DBI/Gofer/Request.pm blib/lib/DBI/Gofer/Request.pm
> cp lib/DBI/Const/GetInfo/ANSI.pm blib/lib/DBI/Const/GetInfo/ANSI.pm
> cp lib/DBD/Gofer/Transport/stream.pm blib/lib/DBD/Gofer/Transport/
> stream.pm
> cp lib/DBD/Gofer/Policy/classic.pm blib/lib/DBD/Gofer/Policy/classic.pm
> cp lib/DBD/Gofer/Policy/Base.pm blib/lib/DBD/Gofer/Policy/Base.pm
> cp lib/DBI/Gofer/Serializer/Storable.pm
> blib/lib/DBI/Gofer/Serializer/Storable.pm
> cp lib/DBI/Gofer/Transport/stream.pm blib/lib/DBI/Gofer/Transport/
> stream.pm
> cp lib/DBI/Const/GetInfoReturn.pm blib/lib/DBI/Const/GetInfoReturn.pm
> cp DBI.pm blib/lib/DBI.pm
> cp lib/DBD/Sponge.pm blib/lib/DBD/Sponge.pm
> cp lib/DBD/Gofer/Policy/pedantic.pm blib/lib/DBD/Gofer/Policy/pedantic.pm
> cp lib/DBI/W32ODBC.pm blib/lib/DBI/W32ODBC.pm
> cp lib/DBI/DBD/SqlEngine/Developers.pod
> blib/lib/DBI/DBD/SqlEngine/Developers.pod
> cp lib/DBI/Gofer/Transport/pipeone.pm blib/lib/DBI/Gofer/Transport/
> pipeone.pm
> cp lib/DBD/Gofer/Transport/null.pm blib/lib/DBD/Gofer/Transport/null.pm
> cp lib/Bundle/DBI.pm blib/lib/Bundle/DBI.pm
> cp lib/DBD/File/Developers.pod blib/lib/DBD/File/Developers.pod
> cp lib/DBI/Profile.pm blib/lib/DBI/Profile.pm
> cp lib/DBI/ProfileDumper.pm blib/lib/DBI/ProfileDumper.pm
> cp lib/DBI/ProxyServer.pm blib/lib/DBI/ProxyServer.pm
> cp lib/DBI/Gofer/Serializer/Base.pm blib/lib/DBI/Gofer/Serializer/Base.pm
> cp lib/DBI/Gofer/Execute.pm blib/lib/DBI/Gofer/Execute.pm
> cp lib/DBI/DBD.pm blib/lib/DBI/DBD.pm
> cp lib/Win32/DBIODBC.pm blib/lib/Win32/DBIODBC.pm
> cp lib/DBI/DBD/SqlEngine.pm blib/lib/DBI/DBD/SqlEngine.pm
> cp lib/DBI/PurePerl.pm blib/lib/DBI/PurePerl.pm
> cp lib/DBD/ExampleP.pm blib/lib/DBD/ExampleP.pm
> cp lib/DBI/ProfileData.pm blib/lib/DBI/ProfileData.pm
> Running Mkbootstrap for odule ()
> chmod 644 module.bs
> rm -f blib/arch/auto/odule/module.so
> gcc -shared -L/usr/local/lib odule_wrap.o -o blib/arch/auto/odule/module.so
>
> gcc: no input files
> make: *** [blib/arch/auto/odule/module.so] Error 1
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.