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

[email protected] (Jonathan Leffler)
Newsgroups perl.dbi.users
Message-ID <[email protected]>
On Thu, Nov 25, 2010 at 00:05, Robert Roggenbuck <[email protected]
> 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.
>>
>> [root@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
>> [root@l2rac2 /]# find . -name odule_wrap.o
>>
>> not found then I tried odule*
>>
>> [root@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 <[email protected]
>>> <mailto:[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
>>>
>>> [...\
>>>
>>
>>
>>


-- 
Jonathan Leffler <[email protected]>  #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."
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.