Gossamer Forum
Home : Products : Gossamer Links : Version 1.x :

Building error

Quote Reply
Building error
nph-build.cgi error :

Content-type: text/plain Error including libraries: Can't locate Msql.pm in @INC (@INC contains: /u/local/msql2/perl /usr/lib/perl5/5.8.1/i686-linux /usr/lib/perl5/5.8.1 /usr/lib/perl5/site_perl/5.8.1/i686-linux /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl .) at /home/maroc/public_html/annuaire/cgi-bin/admin/sql.cfg line 39. BEGIN failed--compilation aborted at /home/maroc/public_html/annuaire/cgi-bin/admin/sql.cfg line 39. Compilation failed in require at nph-build.cgi line 44. Make sure they exist, permissions are set properly, and paths are set correctly.

My sql.cfg is :

#!/usr/bin/perl
#
# -------------
# Links
# -------------
# Links Manager (SQL Version)
#
# File: sql.cfg
# Description: Optional SQL setup variables
# Author: Alex Krohn
# Email: alex@gossamer-threads.com
# Web: http://www.gossamer-threads.com/
# Version: 1.1
#
# COPYRIGHT NOTICE:
#
# Copyright 1997 Gossamer Threads Inc. All Rights Reserved.
#
# This program is being distributed as shareware. It may be used and
# modified free of charge for personal, academic, government or non-profit
# use, so long as this copyright notice and the header above remain intact.
# Any commercial use should be registered. Please also send me an email,
# and let me know where you are using this script. By using this program
# you agree to indemnify Gossamer Threads Inc. from any liability.
#
# Selling the code for this program without prior written consent is
# expressly forbidden. Obtain written permission before redistributing this
# program over the Internet or in any other medium. In all cases
# copyright and header must remain intact.
#
# Please check the README file for full details on registration.
# =====================================================================
# Whether or not to even use SQL.
$use_sql = 1 ;
# Load SQL Libaries..
if ($use_sql) {
use lib '/u/local/msql2/perl'; # include for mSQL version 2+
use Msql;
}
# Name of host machine.
$sql_host = 'localhost';
# Name of database.
$sql_database = 'maroc_annuaire';
# Name of table to hold link information.
$sql_search = 'search';
# Fields which are integers and should not be quoted.. Defaults to the ID and
# the number of Hits..
%sql_noquote = (0 => 1, 8 => 1);
# SQL Fields to search over
@sql_search_fields = qw!Title URL Description!;

# SQL to create the table.
$sql_create_search = qq!
CREATE TABLE $sql_search (
ID INT,
Title CHAR(255),
URL CHAR(255),
AddDate CHAR(12),
Category CHAR(255),
Description CHAR(1000),
Contact_Name CHAR(50),
Contact_Email CHAR(50),
Hits INT,
isNew CHAR(3),
isPopular CHAR(3)
)
!;



Sorry for my bad english!

Thanks for your help
Subject Author Views Date
Thread Building error oussama 9705 Sep 26, 2004, 11:46 PM
Thread Re: [oussama] Building error
webmaster33 9576 Sep 27, 2004, 5:23 AM
Thread Re: [webmaster33] Building error
oussama 9544 Sep 27, 2004, 6:52 AM
Thread Re: [oussama] Building error
webmaster33 9556 Sep 27, 2004, 8:01 AM
Thread Re: [webmaster33] Building error
oussama 9540 Sep 27, 2004, 8:51 AM
Thread Re: [oussama] Building error
webmaster33 9567 Sep 27, 2004, 8:59 AM
Post Re: [webmaster33] Building error
oussama 9543 Sep 27, 2004, 11:19 PM