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

2010-11-25 Thread Robert Roggenbuck

It looks like a typo to me. Have You tried to look for module_wrap.*?

Greetings

Robert

Am 24.11.2010 19:56, schrieb Mike Towery:

Here is what I get when I do that.

[r...@l2rac2 DBI-1.615]# gcc -shared -L/usr/local/lib odule_wrap.o -o
blib/arch/auto/odule/module.so
gcc: odule_wrap.o: No such file or directory
gcc: no input files

You are absolute correct, it cannot find odule_wrap.o

I did a search
[r...@l2rac2 /]# find . -name odule_wrap.o

not found then I tried odule*

[r...@l2rac2 /]# find . -name odule*
./root/perl_db_upgrade/DBI-1.615/blib/arch/auto/odule
./root/perl_db_upgrade/DBI-1.615/blib/lib/auto/odule

Thanks for the assistance. What should I do now?


On 11/24/2010 12:41 PM, KirovAirShip wrote:

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 mtow...@gmail.com
mailto:mtow...@gmail.com wrote:

I got the following error on the make command. Any help would be
appreciated

r...@l2rac2 perl_db_upgrade]# cd DBI*
[r...@l2rac2 DBI-1.615]# perl /usr/lib/swig1.3/perl5/Makefile.pl
Checking if your kit is complete...
Looks good
Writing Makefile for $module
[r...@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 http://accessor.pm
blib/lib/DBI/Util/_accessor.pm http://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 http://dbixs_rev.pl blib/lib/dbixs_rev.pl
http://dbixs_rev.pl
cp lib/DBI/DBD/Metadata.pm blib/lib/DBI/DBD/Metadata.pm
cp lib/DBD/Gofer/Transport/pipeone.pm http://pipeone.pm
blib/lib/DBD/Gofer/Transport/pipeone.pm http://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 http://rush.pm
blib/lib/DBD/Gofer/Policy/rush.pm http://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 http://stream.pm
blib/lib/DBD/Gofer/Transport/stream.pm http://stream.pm
cp lib/DBD/Gofer/Policy/classic.pm http://classic.pm
blib/lib/DBD/Gofer/Policy/classic.pm http://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 http://stream.pm
blib/lib/DBI/Gofer/Transport/stream.pm http://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 http://pedantic.pm
blib/lib/DBD/Gofer/Policy/pedantic.pm http://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 http://pipeone.pm
blib/lib/DBI/Gofer/Transport/pipeone.pm http://pipeone.pm
cp lib/DBD/Gofer/Transport/null.pm http://null.pm
blib/lib/DBD/Gofer/Transport/null.pm http://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 http://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







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

2010-11-25 Thread Jonathan Leffler
On Thu, Nov 25, 2010 at 00:05, Robert Roggenbuck rrogg...@uni-osnabrueck.de
 wrote:

 It looks like a typo to me. Have You tried to look for module_wrap.*?


Another possibility - someone mistyped a macro somewhere in the makefile...

$module_wrap.c

looks for a macro 'm=???', probably doesn't find it (so it maps to an empty
string) and then continues with odule_wrap...


 Am 24.11.2010 19:56, schrieb Mike Towery:

  Here is what I get when I do that.

 [r...@l2rac2 DBI-1.615]# gcc -shared -L/usr/local/lib odule_wrap.o -o
 blib/arch/auto/odule/module.so
 gcc: odule_wrap.o: No such file or directory
 gcc: no input files

 You are absolute correct, it cannot find odule_wrap.o

 I did a search
 [r...@l2rac2 /]# find . -name odule_wrap.o

 not found then I tried odule*

 [r...@l2rac2 /]# find . -name odule*
 ./root/perl_db_upgrade/DBI-1.615/blib/arch/auto/odule
 ./root/perl_db_upgrade/DBI-1.615/blib/lib/auto/odule

 Thanks for the assistance. What should I do now?


 On 11/24/2010 12:41 PM, KirovAirShip wrote:

 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 mtow...@gmail.com
 mailto:mtow...@gmail.com wrote:

 I got the following error on the make command. Any help would be
 appreciated

 r...@l2rac2 perl_db_upgrade]# cd DBI*
 [r...@l2rac2 DBI-1.615]# perl /usr/lib/swig1.3/perl5/Makefile.pl
 Checking if your kit is complete...
 Looks good
 Writing Makefile for $module
 [r...@l2rac2 DBI-1.615]# make
 cp lib/DBD/Proxy.pm blib/lib/DBD/Proxy.pm

 [...\






-- 
Jonathan Leffler jonathan.leff...@gmail.com  #include disclaimer.h
Guardian of DBD::Informix - v2008.0513 - http://dbi.perl.org
Blessed are we who can laugh at ourselves, for we shall never cease to be
amused.