新規記事投稿
フォロー記事投稿
記事のキャンセル
From: koba
<mailto:ykoba@dcn.ne.jp>
Subject: Re: サブルーチンが動かない?
Date: 2000/06/05 19:20:48
Reference: mesh.forum.4/00213
6月3日に、にあさんは書きました。
有識者の皆様、真にありがとうございます。
そして、たび重なる私の説明不足等、ご迷惑をおかけしてます。
本職が忙しくてなかなかその後の確認が出来ていない状態ですが、
フォローできるところにフォローいたします。
TAD様のフォローにあります、
>>うーん、index.cgiの問題でもなさそうに思えるんですけど
>>ほかのPerlのスクリプトは動くんでしょうか。
に関しては、下記の両方とも問題ないようです。
>>#!/usr/bin/perl
>>や
>>#!/bin/sh
# ただし、sh の "It's OK!" はこのままじゃ syntax error にはなっちゃいますけど。
>kobaさんに頼みがあるのですが、「perl -v」や「perl -V」の出力を
>正確に教えていただけないでしょうか?
はい。以下のようになりました。
16 jupiter koba test > perl -v
This is perl, version 5.005_03 built for i386-linux
Copyright 1987-1999, Larry Wall
Japanization patch 4 by Yasushi Saito, 1996
Modified by Hirofumi Watanabe, 1996-1999
jperl5.005_03-990503
EUC version
Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5.0 source kit.
Complete documentation for Perl, including FAQ lists, should be found on
this system using `man perl' or `perldoc perl'. If you have access to the
Internet, point your browser at http://www.perl.com/, the Perl Home Page.
及び、
17 jupiter koba test > perl -V
Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration:
Platform:
osname=linux, osvers=2.2.9, archname=i386-linux
uname='linux servidor.pht.co.jp 2.2.9 #1 smp tue jun 15 04:07:10 jst 1999 i6
86 unknown '
hint=recommended, useposix=true, d_sigaction=define
usethreads=define useperlio=undef d_sfio=undef
Compiler:
cc='gcc', optimize='-O6 -mpentium', gccversion=egcs-2.91.60 19981201 (egcs-1
.1.1 release)
cppflags='-D_REENTRANT -Dbool=char -DHAS_BOOL -I/usr/local/include'
ccflags ='-D_REENTRANT -Dbool=char -DHAS_BOOL -I/usr/local/include'
stdchar='char', d_stdstdio=define, usevfork=false
intsize=4, longsize=4, ptrsize=4, doublesize=8
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
alignbytes=4, usemymalloc=n, prototype=define
Linker and Libraries:
ld='cc', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lnsl -lndbm -lgdbm -ldb -ldl -lm -lpthread -lc -lposix -lcrypt
libc=, so=so, useshrplib=false, libperl=libperl.a
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'
Characteristics of this binary (from libperl):
Built under linux
Compiled at Jun 18 1999 10:03:23
@INC:
/usr/lib/perl5/5.00503/i386-linux-thread
/usr/lib/perl5/5.00503
/usr/lib/perl5/site_perl/i386-linux
/usr/lib/perl5/site_perl
.
と表示されました。(何が書いてあるのかはさっぱり・・・^^;)
ちなみに、このPerlはPerl5らしいのですが、TurboLinux4.0 についてきていた
らしいです。(私がインストールしたわけじゃないので、不確実でもうしわけないのですが)