Форум сетевых администраторов
Показаны 10 сообщений на этой странице

Форум сетевых администраторов (http://netadmin.ws/forum/index.php)
- Другие (http://netadmin.ws/forum/forumdisplay.php?forumid=19)
-- Установка перл-модулей из под винды (http://netadmin.ws/forum/showthread.php?threadid=390)


Помещено hungry_child 16-11-2001 в 11:11:

Question Установка перл-модулей из под винды

Дома стоит Win98SE+Appache+Perl, хотел попользовать библиотеку gd.pm, чтоб каждый раз на сервак не лезть

Сабж - возможно или в принципе нет ?

__________________
To the world, you just may be a someone, but to someone, you just may be the world...


Помещено Gyrus 16-11-2001 в 13:22:

А ppm.bat, что не помогает уже?


Помещено hungry_child 16-11-2001 в 18:55:

ppm??? А причем тут он?

Прочитал ман по модулю, в принципе - возможно

quote:
Create a project using your favorite programming environment. Copy all of the gd files to the project directory. Add gd.c to your project. Add other source files as appropriate. Learning the basic skills of creating projects with your chosen C environment is up to you.


Только объясните попроще, те кто эту библиотеку под Вин/Перл/Апач ставил, что это означает?? Если скопировать/распаковать весь архив в N директорию, то что значит "добавьте gd.c в директорию"? и что за такие другие исходники? ну и т.д.

__________________
To the world, you just may be a someone, but to someone, you just may be the world...


Помещено Ilya 18-11-2001 в 11:26:

Поищи здесь: http://userguide.webservis.ru, точно не помню в каком разделе, (кажется в этом: http://userguide.webservis.ru/homes...-forprint.shtml)есть инструкции по установке модулей.


Помещено hungry_child 19-11-2001 в 07:08:

Ilya

Не знаю, имели ли вы ввиду описанную в статье (кстати классика рунета также как и статья Д.Котлерова) установку модулей dbi и db, отвечающих за работу перла с mySql или что-то иное, но я хотел бы услышать конкретный совет о том
КАК УСТАНОВИТЬ МОДУЛЬ GD ПОД WIN98SE
Ман по библиотеке в этом топике я уже цитировал - конкретный кусок, где описана эта процедура. Сознаюсь - не понял. Не обессудьте. Если все-таки объясните буду безмерно благодарен

__________________
To the world, you just may be a someone, but to someone, you just may be the world...


Помещено Dawnshade 19-11-2001 в 07:53:

Приведи полностью текст мана, о то вподляк лезть....


Помещено hungry_child 19-11-2001 в 14:44:

Dawnshade
Полная версия
http://www.boutell.com/gd/
http://stein.cshl.org/WWW/software/GD
Секция об установке:
(кусок описывающий трабл - полужирный)

How do I build gd?
In order to build gd, you must first unpack the archive you have downloaded. If you are not familiar with tar and gunzip (Unix) or ZIP (Windows), please consult with an experienced user of your system. Sorry, we cannot answer questions about basic Internet skills.

Unpacking the archive will produce a directory called "gd-1.8.3".

For Unix
cd to the 1.8.3 directory. Edit the Makefile with your preferred text editor and make any necessary changes to the settings at the top, especially if you want Xpm or TrueType support. Next, type "make". If you are the system administrator, and you wish to make the gd library available to other programs, you may also wish to type "make install".
If you get errors, edit the Makefile again, paying special attention to the INCLUDEDIRS and LIBDIRS settings.

IF YOU GET LINKER ERRORS, TRY JUGGLING THE ORDER OF THE -l DIRECTIVES IN THE MAKEFILE. Some platforms may prefer that the libraries be listed in the opposite order.

For Windows, Mac, Et Cetera
Create a project using your favorite programming environment. Copy all of the gd files to the project directory. Add gd.c to your project. Add other source files as appropriate. Learning the basic skills of creating projects with your chosen C environment is up to you.

You have now built both the gd library and a demonstration program which shows off the capabilities of gd. To see it in action, type "gddemo".

gddemo should execute without incident, creating the file demoout.png. (Note there is also a file named demoin.png, which is provided in the package as part of the demonstration.)

Display demoout.png in your PNG viewer. The image should be 128x128 pixels and should contain an image of the space shuttle with quite a lot of graphical elements drawn on top of it.

(If you are missing the demoin.png file, the other items should appear anyway.)

Look at demoin.png to see the original space shuttle image which was scaled and copied into the output image.

__________________
To the world, you just may be a someone, but to someone, you just may be the world...


Помещено hungry_child 19-11-2001 в 18:40:

Smile ВСЕМ СПАСИБО

Все ребятки, закрывайте тему

Я его поставил!!
Причем от радости тремя разными способами

Чтобы в будущем никто не наступал на мои грабли скажу одну фразу которая мне стоила трех дней головоломки:

ПÐ_И УСТАНОВКЕ Ð_ТОГО МОДУЛЯ НЕОБХОДИМО АКТИВНОЕ ПОДКЛЮЧЕНИЕ К ИНТЕÐ_НЕТ!

вот собственно и все.

А установить можно через

а) а'ля UNIX : используя утилиту nmake
б) через тот же ppm: install GD ( частично был прав Gyrus - подчеркиваю, что частично, но все равно спасибо за внимание)
в) и вот так C:\>ppm install URL_на_файл_с_расширением_ppd

Огромное спасибо и безмерная благодарность Дмитрию Горяннову aka Gorynich - челоовеку который меня надоумил перед установкой модуля подключиться к Сети

и напоследок список всех модулей для установки из-под Винды
http://www.activestate.com/PPMPacka...xx-builds-only/

__________________
To the world, you just may be a someone, but to someone, you just may be the world...


Помещено Dawnshade 20-11-2001 в 08:08:

Ничо удивительного, весь модуль на сях написан. Изврат!
А чем тебя Tk не устраивал?


Помещено Ausw 25-11-2001 в 04:56:

Re: ВСЕМ СПАСИБО

quote:
Первоначальное сообщение от hungry_child
ПÐ_И УСТАНОВКЕ Ð_ТОГО МОДУЛЯ НЕОБХОДИМО АКТИВНОЕ ПОДКЛЮЧЕНИЕ К ИНТЕÐ_НЕТ!



не гони, ты о чем открываем в блокноте файл DBI.ppd и тут... сюрприз! сюрприз!!! (с) Тема Лебедев

quote:

<OS NAME="MSWin32" />
<ARCHITECTURE NAME="MSWin32-x86-multi-thread" />
<CODEBASE HREF="http://www.activestate.com/PPMpackages/5.6/MSWin32-x86-multi-thread/DBI.tar.gz" />


а апосля на аккурат стираем эту http:// и иже с ней до
DBI.tar.gz ....... и все дела.


Формат времени GMT. Текущее время 06:25.
Показаны 10 сообщений на этой странице

Powered by: vBulletin Version 2.2.4
Copyright © Jelsoft Enterprises Limited 2000, 2001.