On Mon, Aug 04, 2008 at 09:59:47AM -0300, John Nietzsche wrote:
> Hi,
> 
> i am migrating a web application from a linux server to an openbsd
> one. I am having a hard time trying to execute a cgi program, the only
> thing i get on the browser is:
> 
> Software error:
> 
> Can't locate Bio/SearchIO.pm in @INC (@INC contains:
> /usr/libdata/perl5/amd64-openbsd/5.8.8
> /usr/local/libdata/perl5/amd64-openbsd/5.8.8 /usr/libdata/perl5
> /usr/local/libdata/perl5
> /usr/local/libdata/perl5/site_perl/amd64-openbsd
> /usr/libdata/perl5/site_perl/amd64-openbsd
> /usr/local/libdata/perl5/site_perl /usr/libdata/perl5/site_perl
> /usr/local/lib/perl5/site_perl .) at
> /asd/var/data/html/cgi-bin/blastXtract.cgi line 9.
> BEGIN failed--compilation aborted at
> /asd/var/data/html/cgi-bin/blastXtract.cgi line 9.
> 
> For help, please send mail to the webmaster ([EMAIL PROTECTED]), giving this
> error message and the time and date of the error
> 
> Does anybody know the path to the right portage for installation?
> 
> Thanks in advance.
> 

Hi,

Did you read the FAQ ?

        => http://www.openbsd.org/faq/faq10.html#httpdchroot

"Existing CGIs: Most will NOT work as is. They may need programs or libraries
outside /var/www. Some can be fixed by compiling so they are statically linked
(not needing libraries in other directories), most may be fixed by populating
the /var/www directory with the files required by the application, though this
is non-trivial and requires some knowledge of the program."

Gilles

-- 
Gilles Chehade
http://www.poolp.org/~gilles/
                                    Please, contribute to my happiness ;)
                http://www.amazon.com/gp/registry/wishlist/2O09ACKR1A8HD/

Reply via email to