Gossamer Forum
Home : Products : Links 2.0 : Installation -- Unix :

Error by NPH-Build

Quote Reply
Error by NPH-Build
Hello,

i have installed Links2 on a BSD-Machine. All routines will work fine. Also all Pathes and Variables are correctly setted up.
I know this, cause this isnīt my first install on a *NIX-Machine.

But there is an error, if i want build all pages and directorys.

Look here. This is the message from the script:

Collecting Category and Link-Information. . .
Ready

Generate Detail-Views. . .


CGI ERROR
==========================================
Fehlermeldung : Fatal Error: (Maybe you didn't strip carriage returns after a network transfer?)

Script-Location : /usr/local/etc/httpd/htdocs/cyber/kostenlos/cgi-bin/linkmachine/admin/nph-build.cgi
Perl Version : 5.00404

Form Variables
-------------------------------------------

Environment Variables
-------------------------------------------
DOCUMENT_ROOT : /usr/local/etc/httpd/htdocs/cyber
GATEWAY_INTERFACE : CGI/1.1
HTTP_ACCEPT : image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, image/png, */*
HTTP_ACCEPT_CHARSET : iso-8859-1,*,utf-8
HTTP_ACCEPT_ENCODING: gzip
HTTP_ACCEPT_LANGUAGE: en
HTTP_CONNECTION : Keep-Alive
HTTP_EXTENSION : Security/Remote-Passphrase
HTTP_HOST : www.cyberrunner.de
HTTP_REFERER : http://www.cyberrunner.de/kostenlos/cgi-bin/linkmachine/admin/admin.cgi?display=navigation
HTTP_USER_AGENT : Mozilla/4.61 [en] (WinNT; I)
PATH : /sbin:/bin:/usr/sbin:/usr/bin:/usr/contrib/bin
QUERY_STRING :
REMOTE_ADDR : 152.163.162.162
REMOTE_HOST : 152.163.162.162
REMOTE_PORT : 2331
REQUEST_METHOD : GET
REQUEST_URI : /kostenlos/cgi-bin/linkmachine/admin/nph-build.cgi
SCRIPT_FILENAME : /usr/local/etc/httpd/htdocs/cyber/kostenlos/cgi-bin/linkmachine/admin/nph-build.cgi
SCRIPT_NAME : /kostenlos/cgi-bin/linkmachine/admin/nph-build.cgi
SERVER_ADMIN : webmaster@cyberrunner.de
SERVER_NAME : www.cyberrunner.de
SERVER_PORT : 80
SERVER_PROTOCOL : HTTP/1.0
SERVER_SOFTWARE : Apache/1.2.6 FrontPage/3.0.4
USER : puste

Sammele Kategorie- und Link - Information . . .
Fertig

Generiere Detailansichten . . .


CGI ERROR
==========================================
Fehlermeldung : Gravierender Fehler: (Maybe you didn't strip carriage returns after a network transfer?)

Script-Standort : /usr/local/etc/httpd/htdocs/cyber/kostenlos/cgi-bin/linkmachine/admin/nph-build.cgi
Perl Version : 5.00404

Form Variables
-------------------------------------------

Environment Variables
-------------------------------------------
DOCUMENT_ROOT : /usr/local/etc/httpd/htdocs/cyber
GATEWAY_INTERFACE : CGI/1.1
HTTP_ACCEPT : image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, image/png, */*
HTTP_ACCEPT_CHARSET : iso-8859-1,*,utf-8
HTTP_ACCEPT_ENCODING: gzip
HTTP_ACCEPT_LANGUAGE: en
HTTP_CONNECTION : Keep-Alive
HTTP_EXTENSION : Security/Remote-Passphrase
HTTP_HOST : www.cyberrunner.de
HTTP_REFERER : http://www.cyberrunner.de/kostenlos/cgi-bin/linkmachine/admin/admin.cgi?display=navigation
HTTP_USER_AGENT : Mozilla/4.61 [en] (WinNT; I)
PATH : /sbin:/bin:/usr/sbin:/usr/bin:/usr/contrib/bin
QUERY_STRING :
REMOTE_ADDR : 152.163.162.162
REMOTE_HOST : 152.163.162.162
REMOTE_PORT : 2331
REQUEST_METHOD : GET
REQUEST_URI : /kostenlos/cgi-bin/linkmachine/admin/nph-build.cgi
SCRIPT_FILENAME : /usr/local/etc/httpd/htdocs/cyber/kostenlos/cgi-bin/linkmachine/admin/nph-build.cgi
SCRIPT_NAME : /kostenlos/cgi-bin/linkmachine/admin/nph-build.cgi
SERVER_ADMIN : webmaster@cyberrunner.de
SERVER_NAME : www.cyberrunner.de
SERVER_PORT : 80
SERVER_PROTOCOL : HTTP/1.0
SERVER_SOFTWARE : Apache/1.2.6 FrontPage/3.0.4
USER : puste

Sammele Kategorie- und Link - Information . . .
Fertig

Generiere Detailansichten . . .


CGI ERROR
==========================================
Fehlermeldung : Gravierender Fehler: (Maybe you didn't strip carriage returns after a network transfer?)

Script-Standort : /usr/local/etc/httpd/htdocs/cyber/kostenlos/cgi-bin/linkmachine/admin/nph-build.cgi
Perl Version : 5.00404

Form Variables
-------------------------------------------

Environment Variables
-------------------------------------------
DOCUMENT_ROOT : /usr/local/etc/httpd/htdocs/cyber
GATEWAY_INTERFACE : CGI/1.1
HTTP_ACCEPT : image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, image/png, */*
HTTP_ACCEPT_CHARSET : iso-8859-1,*,utf-8
HTTP_ACCEPT_ENCODING: gzip
HTTP_ACCEPT_LANGUAGE: en
HTTP_CONNECTION : Keep-Alive
HTTP_EXTENSION : Security/Remote-Passphrase
HTTP_HOST : www.cyberrunner.de
HTTP_REFERER : http://www.cyberrunner.de/kostenlos/cgi-bin/linkmachine/admin/admin.cgi?display=navigation
HTTP_USER_AGENT : Mozilla/4.61 [en] (WinNT; I)
PATH : /sbin:/bin:/usr/sbin:/usr/bin:/usr/contrib/bin
QUERY_STRING :
REMOTE_ADDR : 152.163.162.162
REMOTE_HOST : 152.163.162.162
REMOTE_PORT : 2331
REQUEST_METHOD : GET
REQUEST_URI : /kostenlos/cgi-bin/linkmachine/admin/nph-build.cgi
SCRIPT_FILENAME : /usr/local/etc/httpd/htdocs/cyber/kostenlos/cgi-bin/linkmachine/admin/nph-build.cgi
SCRIPT_NAME : /kostenlos/cgi-bin/linkmachine/admin/nph-build.cgi
SERVER_ADMIN : webmaster@cyberrunner.de
SERVER_NAME : www.cyberrunner.de
SERVER_PORT : 80
SERVER_PROTOCOL : HTTP/1.0
SERVER_SOFTWARE : Apache/1.2.6 FrontPage/3.0.4
USER : puste


If i call the script via telnet (perl -cw nph-build.cgi) i gett the following information:

"use" may clash with future reserved word at nph-build.cgi line 36.
syntax error in file nph-build.cgi at line 36, next 2 tokens "use vars"
syntax error in file nph-build.cgi at line 57, next 2 tokens "} and"
"my" may clash with future reserved word at nph-build.cgi line 73.
"in" may clash with future reserved word at nph-build.cgi line 73.
Illegal modulus of constant zero in file nph-build.cgi at line 73, next 2 tokens
"in ="
Illegal expression (MODULO) as lvalue in file nph-build.cgi at line 73, next 2 t
okens "\parse_form;"
"my" may clash with future reserved word at nph-build.cgi line 77.
"steps" may clash with future reserved word at nph-build.cgi line 77.
Illegal modulus of constant zero in file nph-build.cgi at line 77, next 2 tokens
"steps ="
syntax error in file nph-build.cgi at line 77, next 2 tokens "=>"
"my" may clash with future reserved word at nph-build.cgi line 82.
nph-build.cgi had compilation errors.

I donīt know, what the error is. I have no <CR> or <LF> in the script, but it will not run. Also i have unzipped the original-version on this server and copied the nph-build.cgi in its correct directory. The same error.

Could anyone help me to understand what my mistake is?

Thanks

Gareth

Subject Author Views Date
Thread Error by NPH-Build Gareth 1717 Dec 2, 1999, 11:17 AM
Post Re: Error by NPH-Build
Gareth 1643 Dec 2, 1999, 11:20 AM
Post Re: Error by NPH-Build
Gareth 1645 Dec 2, 1999, 1:18 PM
Post Re: Error by NPH-Build
Mark Badolato 1647 Dec 3, 1999, 6:44 AM