>Сейчас мне кажется, что это не самое лучшее средство... Смысл в том,
>что система находит вместо старого файла Перла ссылку на новый и
>переходит по ссылке.
>Найти файл программы - whereis myprog
>Сделать ссылку: ln [-s] fajl ssylka_na_fajl
>См. также man ln
Сенкс. это я уже нашел! (но все равно спасибо)
Теперь возникла еще одна проблема, почти все модули на перл при помощи CPAN я поставил:
Text::Autoformat
Image::Info
Image::Size
Date::Calc
Pod::POM
А вот эти поставить не могу:
при установке "GD" показывает вот так (то что было выше показать не могу, убегает, не успеваю поймать экран =) ):
GD.c:2179: error: `image' undeclared (first use in this function)
GD.c:2179: error: called object is not a function
GD.c: In function `XS_GD__Image_filledArc':
GD.c:2199: error: syntax error before "image"
GD.c:2211: error: `image' undeclared (first use in this function)
GD.c:2211: error: called object is not a function
GD.c: In function `XS_GD__Image_fillToBorder':
GD.c:2237: error: syntax error before "image"
GD.c:2245: error: `image' undeclared (first use in this function)
GD.c:2245: error: called object is not a function
GD.c: In function `XS_GD__Image_fill':
GD.c:2265: error: syntax error before "image"
GD.c:2272: error: `image' undeclared (first use in this function)
GD.c:2272: error: called object is not a function
GD.c: In function `XS_GD__Image_setBrush':
GD.c:2292: error: syntax error before "image"
GD.c:2297: error: `image' undeclared (first use in this function)
GD.c:2297: error: called object is not a function
GD.c:2304: error: `brush' undeclared (first use in this function)
GD.c:2304: error: called object is not a function
GD.c: In function `XS_GD__Image_setTile':
GD.c:2324: error: syntax error before "image"
GD.c:2329: error: `image' undeclared (first use in this function)
GD.c:2329: error: called object is not a function
GD.c:2336: error: `tile' undeclared (first use in this function)
GD.c:2336: error: called object is not a function
GD.c: In function `XS_GD__Image_setThickness':
GD.c:2356: error: syntax error before "image"
GD.c:2361: error: `image' undeclared (first use in this function)
GD.c:2361: error: called object is not a function
GD.c: In function `XS_GD__Image_setStyle':
GD.c:2381: error: syntax error before "image"
GD.c:2385: error: `image' undeclared (first use in this function)
GD.c:2385: error: called object is not a function
GD.c: In function `XS_GD__Image_colorAllocate':
GD.c:2417: error: syntax error before "image"
GD.c:2426: error: `image' undeclared (first use in this function)
GD.c:2426: error: called object is not a function
GD.c: In function `XS_GD__Image_colorAllocateAlpha':
GD.c:2447: error: syntax error before "image"
GD.c:2457: error: `image' undeclared (first use in this function)
GD.c:2457: error: called object is not a function
GD.c: In function `XS_GD__Image_colorClosest':
GD.c:2478: error: syntax error before "image"
GD.c:2487: error: `image' undeclared (first use in this function)
GD.c:2487: error: called object is not a function
GD.c: In function `XS_GD__Image_colorClosestAlpha':
GD.c:2508: error: syntax error before "image"
GD.c:2518: error: `image' undeclared (first use in this function)
GD.c:2518: error: called object is not a function
GD.c: In function `XS_GD__Image_colorClosestHWB':
GD.c:2539: error: syntax error before "image"
GD.c:2548: error: `image' undeclared (first use in this function)
GD.c:2548: error: called object is not a function
GD.c: In function `XS_GD__Image_colorExact':
GD.c:2569: error: syntax error before "image"
GD.c:2578: error: `image' undeclared (first use in this function)
GD.c:2578: error: called object is not a function
GD.c: In function `XS_GD__Image_colorExactAlpha':
GD.c:2599: error: syntax error before "image"
GD.c:2609: error: `image' undeclared (first use in this function)
GD.c:2609: error: called object is not a function
GD.c: In function `XS_GD__Image_colorResolve':
GD.c:2630: error: syntax error before "image"
GD.c:2639: error: `image' undeclared (first use in this function)
GD.c:2639: error: called object is not a function
GD.c: In function `XS_GD__Image_colorResolveAlpha':
GD.c:2660: error: syntax error before "image"
GD.c:2670: error: `image' undeclared (first use in this function)
GD.c:2670: error: called object is not a function
GD.c: In function `XS_GD__Image_colorsTotal':
GD.c:2691: error: syntax error before "image"
GD.c:2697: error: `image' undeclared (first use in this function)
GD.c:2697: error: called object is not a function
GD.c: In function `XS_GD__Image_interlaced':
GD.c:2718: error: syntax error before "image"
GD.c:2724: error: `image' undeclared (first use in this function)
GD.c:2724: error: called object is not a function
GD.c: In function `XS_GD__Image_compare':
GD.c:2751: error: syntax error before "image1"
GD.c:2758: error: `image1' undeclared (first use in this function)
GD.c:2758: error: called object is not a function
GD.c:2765: error: `image2' undeclared (first use in this function)
GD.c:2765: error: called object is not a function
GD.c: In function `XS_GD__Image_colorDeallocate':
GD.c:2786: error: syntax error before "image"
GD.c:2791: error: `image' undeclared (first use in this function)
GD.c:2791: error: called object is not a function
GD.c: In function `XS_GD__Image_copy':
GD.c:2811: error: syntax error before "destination"
GD.c:2822: error: `destination' undeclared (first use in this function)
GD.c:2822: error: called object is not a function
GD.c:2829: error: `source' undeclared (first use in this function)
GD.c:2829: error: called object is not a function
GD.c: In function `XS_GD__Image_copyResized':
GD.c:2849: error: syntax error before "destination"
GD.c:2862: error: `destination' undeclared (first use in this function)
GD.c:2862: error: called object is not a function
GD.c:2869: error: `source' undeclared (first use in this function)
GD.c:2869: error: called object is not a function
GD.c: In function `XS_GD__Image_copyResampled':
GD.c:2889: error: syntax error before "destination"
GD.c:2902: error: `destination' undeclared (first use in this function)
GD.c:2902: error: called object is not a function
GD.c:2909: error: `source' undeclared (first use in this function)
GD.c:2909: error: called object is not a function
GD.c: In function `XS_GD__Image_copyMerge':
GD.c:2929: error: syntax error before "destination"
GD.c:2941: error: `destination' undeclared (first use in this function)
GD.c:2941: error: called object is not a function
GD.c:2948: error: `source' undeclared (first use in this function)
GD.c:2948: error: called object is not a function
GD.c: In function `XS_GD__Image_copyMergeGray':
GD.c:2968: error: syntax error before "destination"
GD.c:2980: error: `destination' undeclared (first use in this function)
GD.c:2980: error: called object is not a function
GD.c:2987: error: `source' undeclared (first use in this function)
GD.c:2987: error: called object is not a function
GD.c: In function `XS_GD__Image_paletteCopy':
GD.c:3007: error: syntax error before "destination"
GD.c:3012: error: `destination' undeclared (first use in this function)
GD.c:3012: error: called object is not a function
GD.c:3019: error: `source' undeclared (first use in this function)
GD.c:3019: error: called object is not a function
GD.c: In function `XS_GD__Image_char':
GD.c:3039: error: syntax error before "image"
GD.c:3048: error: `image' undeclared (first use in this function)
GD.c:3048: error: called object is not a function
GD.c:3055: error: `font' undeclared (first use in this function)
GD.c:3055: error: called object is not a function
GD.c: In function `XS_GD__Image_charUp':
GD.c:3075: error: syntax error before "image"
GD.c:3084: error: `image' undeclared (first use in this function)
GD.c:3084: error: called object is not a function
GD.c:3091: error: `font' undeclared (first use in this function)
GD.c:3091: error: called object is not a function
GD.c: In function `XS_GD__Image_string':
GD.c:3111: error: syntax error before "image"
GD.c:3120: error: `image' undeclared (first use in this function)
GD.c:3120: error: called object is not a function
GD.c:3127: error: `font' undeclared (first use in this function)
GD.c:3127: error: called object is not a function
GD.c: In function `XS_GD__Image_stringUp':
GD.c:3147: error: syntax error before "image"
GD.c:3156: error: `image' undeclared (first use in this function)
GD.c:3156: error: called object is not a function
GD.c:3163: error: `font' undeclared (first use in this function)
GD.c:3163: error: called object is not a function
GD.xs: In function `XS_GD__Image_stringFT':
GD.xs:1851: error: `gdImagePtr' undeclared (first use in this function)
GD.xs:1851: error: syntax error before "img"
GD.xs:1858: error: `gdFTStringExtra' undeclared (first use in this function)
GD.xs:1858: error: syntax error before "strex"
GD.xs:1868: error: `img' undeclared (first use in this function)
GD.xs:1868: error: syntax error before "tmp"
GD.xs:1877: error: `strex' undeclared (first use in this function)
GD.xs:1881: error: `gdFTEX_LINESPACE' undeclared (first use in this function)
GD.xs:1885: error: `gdFTEX_CHARMAP' undeclared (first use in this function)
GD.xs:1887: error: `gdFTEX_Unicode' undeclared (first use in this function)
GD.xs:1889: error: `gdFTEX_Shift_JIS' undeclared (first use in this function)
GD.xs:1891: error: `gdFTEX_Big5' undeclared (first use in this function)
GD.xs:1895: warning: assignment makes pointer from integer without a cast
GD.xs:1899: warning: assignment makes pointer from integer without a cast
GD.c: In function `XS_GD__Image_alphaBlending':
GD.c:3270: error: syntax error before "image"
GD.c:3275: error: `image' undeclared (first use in this function)
GD.c:3275: error: called object is not a function
GD.c: In function `XS_GD__Image_saveAlpha':
GD.c:3295: error: syntax error before "image"
GD.c:3300: error: `image' undeclared (first use in this function)
GD.c:3300: error: called object is not a function
GD.c: In function `XS_GD__Image_clip':
GD.c:3321: error: syntax error before "image"
GD.c:3329: error: `image' undeclared (first use in this function)
GD.c:3329: error: called object is not a function
GD.c: In function `XS_GD__Image_setAntiAliased':
GD.c:3361: error: syntax error before "image"
GD.c:3366: error: `image' undeclared (first use in this function)
GD.c:3366: error: called object is not a function
GD.c: In function `XS_GD__Image_setAntiAliasedDontBlend':
GD.c:3386: error: syntax error before "image"
GD.c:3392: error: `image' undeclared (first use in this function)
GD.c:3392: error: called object is not a function
GD.c: In function `XS_GD__Font_Small':
GD.c:3419: error: syntax error before "RETVAL"
GD.xs:1989: error: `RETVAL' undeclared (first use in this function)
GD.c: In function `XS_GD__Font_Large':
GD.c:3445: error: syntax error before "RETVAL"
GD.xs:2000: error: `RETVAL' undeclared (first use in this function)
GD.c: In function `XS_GD__Font_Giant':
GD.c:3471: error: syntax error before "RETVAL"
GD.xs:2011: error: `RETVAL' undeclared (first use in this function)
GD.c: In function `XS_GD__Font_MediumBold':
GD.c:3497: error: syntax error before "RETVAL"
GD.xs:2022: error: `RETVAL' undeclared (first use in this function)
GD.c: In function `XS_GD__Font_Tiny':
GD.c:3523: error: syntax error before "RETVAL"
GD.xs:2033: error: `RETVAL' undeclared (first use in this function)
GD.c: In function `XS_GD__Font_nchars':
GD.c:3548: error: syntax error before "font"
GD.c:3554: error: `font' undeclared (first use in this function)
GD.c:3554: error: called object is not a function
GD.c: In function `XS_GD__Font_offset':
GD.c:3575: error: syntax error before "font"
GD.c:3581: error: `font' undeclared (first use in this function)
GD.c:3581: error: called object is not a function
GD.c: In function `XS_GD__Font_width':
GD.c:3602: error: syntax error before "font"
GD.c:3608: error: `font' undeclared (first use in this function)
GD.c:3608: error: called object is not a function
GD.c: In function `XS_GD__Font_height':
GD.c:3629: error: syntax error before "font"
GD.c:3635: error: `font' undeclared (first use in this function)
GD.c:3635: error: called object is not a function
make: *** [GD.o] Ошибка 1
/usr/bin/make -- NOT OK
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems impossible
Use of chdir('') or chdir(undef) as chdir() is deprecated at /usr/local/lib/perl5/5.8.3/CPAN.pm line 203.
===================================================
А также при установке модуля DBD::mysql выдает на консоль вот это:
Can't exec "mysql_config": No such file or directory at Makefile.PL line 174.
readline() on closed filehandle PIPE at Makefile.PL line 176.
Failed to determine directory of mysql.h. Use
perl Makefile.PL --cflags=-I<dir>
to set this directory. For details see the INSTALL.html file,
section "C Compiler flags" or type
perl Makefile.PL --help
Running make test
Make had some problems, maybe interrupted? Won't test
Running make install
Make had some problems, maybe interrupted? Won't install
Use of chdir('') or chdir(undef) as chdir() is deprecated at /usr/local/lib/perl5/5.8.3/CPAN.pm line 203.
часть файла Makefile.PL
173: sub Configure {
174: my($opt, $source, $param) = @_;
174:
175: if (exists($opt->{$param})) {
176: $source->{$param} = "Users choice";
177: return;
178: }
помогите что мне делать (почитал на сайте mysql.com что mysql_config это просто какая то навеска для пользователей для упрощения связки клиентских программ с MySQL но нигде найти его не смог)
Помогите пож.
(Уважаемый StatusQuo если у вас есть ICQ укажите пож. или вышлите на майл) так как при работе на форуме отнимает очень длительное время)