Schrift
[thread]6984[/thread]

Konsolen Menüs?



<< |< 1 2 >| >> 19 Einträge, 2 Seiten
J-jayz-Z
 2005-05-11 20:46
#54773 #54773
User since
2005-04-13
625 Artikel
BenutzerIn
[Homepage] [default_avatar]
Kennt jemand von euch ein Modul, mit dem man Menüs in der Konsole darstellen kann, mit dem man beispielsweise mit den Pfeiltasten Menüpunkte auswählen kann, bzw. eins, mit dem man die Konsole in mehrere Teile aufteilen kann? ? ?
thx schonmal
perl -Mstrict -Mwarnings -e 'package blub; sub new { bless {} } sub bar {my $self=shift; $self->{bla}="5065726c2d436f6d6d756e697479"; return $self->{bla};} my $foo=blub->new();print "Hallo ";print pack("H*",$foo->bar()); print "\n"'

http://perl-tutor.de
romulus
 2005-05-11 21:00
#54774 #54774
User since
2004-04-05
23 Artikel
BenutzerIn
[default_avatar]
Hallo,

laut deiner Sig brauchst du das wohl für Linux.
Das Modul Kenn ich zwar nicht, aber schau dir mal Curses::Widgets::Menu bei cpan an.
Oder alternativ selber mach in Verbindung mit dem Modul Term::ReadKey um die Tasten einzulesen.
J-jayz-Z
 2005-05-11 21:03
#54775 #54775
User since
2005-04-13
625 Artikel
BenutzerIn
[Homepage] [default_avatar]
Hmm, nicht unbedingt für Linux. Vielleicht auch. Aber ich programmiere gern systemunabhängig.
Eigentlich...
Danke für den Tip!
perl -Mstrict -Mwarnings -e 'package blub; sub new { bless {} } sub bar {my $self=shift; $self->{bla}="5065726c2d436f6d6d756e697479"; return $self->{bla};} my $foo=blub->new();print "Hallo ";print pack("H*",$foo->bar()); print "\n"'

http://perl-tutor.de
romulus
 2005-05-11 21:07
#54776 #54776
User since
2004-04-05
23 Artikel
BenutzerIn
[default_avatar]
Unter Windows kannst du mit Win32::Console sowas machen.
J-jayz-Z
 2005-05-11 21:10
#54777 #54777
User since
2005-04-13
625 Artikel
BenutzerIn
[Homepage] [default_avatar]
du meintest wohl das:
Curses::Widgets::Menu :p
Danke nochmals, sieht gut aus!
perl -Mstrict -Mwarnings -e 'package blub; sub new { bless {} } sub bar {my $self=shift; $self->{bla}="5065726c2d436f6d6d756e697479"; return $self->{bla};} my $foo=blub->new();print "Hallo ";print pack("H*",$foo->bar()); print "\n"'

http://perl-tutor.de
J-jayz-Z
 2005-05-11 21:36
#54778 #54778
User since
2005-04-13
625 Artikel
BenutzerIn
[Homepage] [default_avatar]
Hilfe! Ich bekomm das Modul Curses nicht installiert!
Folgende Meldung spuckt mir make aus:
Code: (dl )
1
2
3
4
5
ingo:/home/rootcris/scripts/Curses-1.12# make
cc -c -I/usr/include/ncurses -DDEBIAN -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"1.12\" -DXS_VERSION=\"1.12\" -fPIC -I/usr/lib/perl/5.6.1/CORE Curses.c
In file included from Curses.c:11:
c-config.h:9: ncurses.h: No such file or directory
make: *** [Curses.o] Error 1

Kann mir jemand helfen? ? ?
bzw. wo muss die Datei ncurses hin, oder wieso installiert sie mir die CPAN shell auch nicht mit...?
perl -Mstrict -Mwarnings -e 'package blub; sub new { bless {} } sub bar {my $self=shift; $self->{bla}="5065726c2d436f6d6d756e697479"; return $self->{bla};} my $foo=blub->new();print "Hallo ";print pack("H*",$foo->bar()); print "\n"'

http://perl-tutor.de
romulus
 2005-05-11 22:17
#54779 #54779
User since
2004-04-05
23 Artikel
BenutzerIn
[default_avatar]
[quote=J-jayz-Z,11.05.2005, 19:36]Hilfe! Ich bekomm das Modul Curses nicht installiert!
Folgende Meldung spuckt mir make aus:
Code: (dl )
1
2
3
4
5
ingo:/home/rootcris/scripts/Curses-1.12# make
cc -c -I/usr/include/ncurses -DDEBIAN -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2   -DVERSION=\"1.12\" -DXS_VERSION=\"1.12\" -fPIC -I/usr/lib/perl/5.6.1/CORE  Curses.c
In file included from Curses.c:11:
c-config.h:9: ncurses.h: No such file or directory
make: *** [Curses.o] Error 1

Kann mir jemand helfen? ? ?
bzw. wo muss die Datei ncurses hin, oder wieso installiert sie mir die CPAN shell auch nicht mit...?[/quote]
Hast du die Abhängigkeiten bei cpan beachtet? Du brauchst noch Curses und Curses::Widgets::ListBox oder so..
J-jayz-Z
 2005-05-11 22:21
#54780 #54780
User since
2005-04-13
625 Artikel
BenutzerIn
[Homepage] [default_avatar]
Wie oder so? Wo seh ich die Abhängigkeiten? ? ?
Ich hab es auch mit der CPAN Shell versucht. Die löst die Abhängigkeiten doch selbstständig auf, odaa? ? ?
perl -Mstrict -Mwarnings -e 'package blub; sub new { bless {} } sub bar {my $self=shift; $self->{bla}="5065726c2d436f6d6d756e697479"; return $self->{bla};} my $foo=blub->new();print "Hallo ";print pack("H*",$foo->bar()); print "\n"'

http://perl-tutor.de
J-jayz-Z
 2005-05-11 22:28
#54781 #54781
User since
2005-04-13
625 Artikel
BenutzerIn
[Homepage] [default_avatar]
Das Curses Modul ist das, das ich nicht installieren kann. Hier ist die Fehlermeldung von perl -MCPAN -e "install Curses"
Code: (dl )
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
Going to read /root/.cpan/sources/authors/01mailrc.txt.gz
CPAN: Compress::Zlib loaded ok
Going to read /root/.cpan/sources/modules/02packages.details.txt.gz
Database was generated on Tue, 10 May 2005 12:56:19 GMT
CPAN: HTTP::Date loaded ok
Going to read /root/.cpan/sources/modules/03modlist.data.gz
Running install for module Curses
Running make for G/GI/GIRAFFED/Curses-1.12.tgz
CPAN: Digest::MD5 loaded ok
Checksum for /root/.cpan/sources/authors/id/G/GI/GIRAFFED/Curses-1.12.tgz ok
Scanning cache /root/.cpan/build for sizes
Curses-1.12/
Curses-1.12/hints/
Curses-1.12/hints/c-MSWin32.visualc.h
Curses-1.12/hints/c-sunos.bsd.h
Curses-1.12/hints/c-dec_osf.h
Curses-1.12/hints/c-svr4.h
Curses-1.12/hints/c-darwin.h
Curses-1.12/hints/c-none.h
Curses-1.12/hints/c-freebsd.ncurses.h
Curses-1.12/hints/c-aix.h
Curses-1.12/hints/c-linux.bsd.h
Curses-1.12/hints/c-irix.ncurses.h
Curses-1.12/hints/c-dgux.h
Curses-1.12/hints/c-bsd386.h
Curses-1.12/hints/c-MSWin32.borland.h
Curses-1.12/hints/c-hpux.h
Curses-1.12/hints/c-irix.bsd.h
Curses-1.12/hints/c-solaris.h
Curses-1.12/hints/c-bsdos.h
Curses-1.12/hints/c-dynixptx.h
Curses-1.12/hints/c-isc.h
Curses-1.12/hints/c-openbsd.h
Curses-1.12/hints/c-cygwin.h
Curses-1.12/hints/c-linux.ncurses.h
Curses-1.12/hints/c-sunos.sysv.h
Curses-1.12/hints/c-next.h
Curses-1.12/hints/c-sco.h
Curses-1.12/hints/c-os2.ncurses.h
Curses-1.12/hints/c-vms.h
Curses-1.12/hints/c-sunos.ncurses.h
Curses-1.12/hints/c-netbsd.h
Curses-1.12/hints/c-freebsd.bsd.h
Curses-1.12/hints/c-darwin-thread-multi-2level.h
Curses-1.12/gdc
Curses-1.12/demo.panel
Curses-1.12/gen/
Curses-1.12/gen/make.list.syms
Curses-1.12/gen/make.CursesBoot.c
Curses-1.12/gen/make.CursesFun.c
Curses-1.12/gen/make.Curses.pm
Curses-1.12/gen/make.CursesVar.c
Curses-1.12/gen/list.typ
Curses-1.12/gen/make.CursesCon.c
Curses-1.12/gen/list.fun
Curses-1.12/gen/increase-version
Curses-1.12/gen/make.CursesTyp.h
Curses-1.12/gen/list.con
Curses-1.12/gen/list.var
Curses-1.12/gen/README
Curses-1.12/gen/Gen.pm
Curses-1.12/demo
Curses-1.12/demo.menu
Curses-1.12/list.syms
Curses-1.12/demo.form
Curses-1.12/cdemo.c
Curses-1.12/CursesFun.c
Curses-1.12/Makefile.PL
Curses-1.12/CursesVar.c
Curses-1.12/Curses.pm
Curses-1.12/CursesCon.c
Curses-1.12/Curses.c
Curses-1.12/CursesTyp.h
Curses-1.12/test.syms
Curses-1.12/Artistic
Curses-1.12/MANIFEST
Curses-1.12/testtyp.c
Curses-1.12/testsym.c
Curses-1.12/README
Curses-1.12/CursesBoot.c
Curses-1.12/demo2
Curses-1.12/testint.c
Curses-1.12/Copying
Curses-1.12/INSTALL
Curses-1.12/HISTORY
Curses-1.12/MAINTENANCE
Removing previously used /root/.cpan/build/Curses-1.12

CPAN.pm: Going to build G/GI/GIRAFFED/Curses-1.12.tgz

GEN function: not applicable
PANELS functions: not enabled
MENUS functions: not enabled
FORMS functions: not enabled

Making a guess for $inc and/or $libs...
Making a guess for "c-config.h"...
Checking if your kit is complete...
Looks good
Writing Makefile for Curses
cp Curses.pm blib/lib/Curses.pm
/usr/bin/perl test.syms
Checking capabilities of the Ncurses libraries.
Set CURSES_VERBOSE environment variable to see the details of the tests.

Doing test compiles with the compile command 'cc -DSYM="_C_SYM_" -I/usr/include/ncurses -DDEBIAN -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o _C_FILE_ _C_FILE_.c -L/usr/local/lib -lncurses>/dev/null 2>&1'
function 'waddch' NOT found
function 'wechochar' NOT found
function 'waddchstr' NOT found
function 'waddchnstr' NOT found
function 'waddstr' NOT found
function 'waddnstr' NOT found
function 'wattroff' NOT found
function 'wattron' NOT found
function 'wattrset' NOT found
function 'wstandend' NOT found
function 'wstandout' NOT found
function 'wattr_get' NOT found
function 'wattr_off' NOT found
function 'wattr_on' NOT found
function 'wattr_set' NOT found
function 'wchgat' NOT found
function 'COLOR_PAIR' NOT found
function 'PAIR_NUMBER' NOT found
function 'beep' NOT found
function 'flash' NOT found
function 'wbkgd' NOT found
function 'wbkgdset' NOT found
function 'getbkgd' NOT found
function 'wborder' NOT found
function 'box' NOT found
function 'whline' NOT found
function 'wvline' NOT found
function 'werase' NOT found
function 'wclear' NOT found
function 'wclrtobot' NOT found
function 'wclrtoeol' NOT found
function 'start_color' NOT found
function 'init_pair' NOT found
function 'init_color' NOT found
function 'has_colors' NOT found
function 'can_change_color' NOT found
function 'color_content' NOT found
function 'pair_content' NOT found
function 'wdelch' NOT found
function 'wdeleteln' NOT found
function 'winsdelln' NOT found
function 'winsertln' NOT found
function 'wgetch' NOT found
function 'ungetch' NOT found
function 'has_key' NOT found
function 'KEY_F' NOT found
function 'wgetstr' NOT found
function 'wgetnstr' NOT found
function 'getyx' NOT found
function 'getparyx' NOT found
function 'getbegyx' NOT found
function 'getmaxyx' NOT found
function 'winch' NOT found
function 'winchstr' NOT found
function 'winchnstr' NOT found
function 'initscr' NOT found
function 'endwin' NOT found
function 'isendwin' NOT found
function 'newterm' NOT found
function 'set_term' NOT found
function 'delscreen' NOT found
function 'cbreak' NOT found
function 'cbreak' returns void
function 'nocbreak' NOT found
function 'nocbreak' returns void
function 'echo' NOT found
function 'echo' returns void
function 'noecho' NOT found
function 'noecho' returns void
function 'halfdelay' NOT found
function 'intrflush' NOT found
function 'keypad' NOT found
function 'meta' NOT found
function 'nodelay' NOT found
function 'notimeout' NOT found
function 'raw' NOT found
function 'raw' returns void
function 'noraw' NOT found
function 'noraw' returns void
function 'qiflush' NOT found
function 'noqiflush' NOT found
function 'wtimeout' NOT found
function 'typeahead' NOT found
function 'winsch' NOT found
function 'winsstr' NOT found
function 'winsnstr' NOT found
function 'winstr' NOT found
function 'winnstr' NOT found
function 'def_prog_mode' NOT found
function 'def_shell_mode' NOT found
function 'reset_prog_mode' NOT found
function 'reset_shell_mode' NOT found
function 'resetty' NOT found
function 'savetty' NOT found
function 'getsyx' NOT found
function 'getsyx' returns void
function 'setsyx' NOT found
function 'setsyx' returns void
function 'curs_set' NOT found
function 'napms' NOT found
function 'wmove' NOT found
function 'clearok' NOT found
function 'idlok' NOT found
function 'idlok' returns void
function 'idcok' NOT found
function 'immedok' NOT found
function 'leaveok' NOT found
function 'wsetscrreg' NOT found
function 'scrollok' NOT found
function 'nl' NOT found
function 'nl' returns void
function 'nonl' NOT found
function 'nonl' returns void
function 'overlay' NOT found
function 'overwrite' NOT found
function 'copywin' NOT found
function 'newpad' NOT found
function 'subpad' NOT found
function 'prefresh' NOT found
function 'pnoutrefresh' NOT found
function 'pechochar' NOT found
function 'wrefresh' NOT found
function 'wnoutrefresh' NOT found
function 'doupdate' NOT found
function 'redrawwin' NOT found
function 'wredrawln' NOT found
function 'scr_dump' NOT found
function 'scr_restore' NOT found
function 'scr_init' NOT found
function 'scr_set' NOT found
function 'scroll' NOT found
function 'wscrl' NOT found
function 'slk_init' NOT found
function 'slk_set' NOT found
function 'slk_refresh' NOT found
function 'slk_noutrefresh' NOT found
function 'slk_label' NOT found
function 'slk_clear' NOT found
function 'slk_restore' NOT found
function 'slk_touch' NOT found
function 'slk_attron' NOT found
function 'slk_attrset' NOT found
function 'slk_attr' NOT found
function 'slk_attroff' NOT found
function 'slk_color' NOT found
function 'baudrate' NOT found
function 'erasechar' NOT found
function 'has_ic' NOT found
function 'has_il' NOT found
function 'killchar' NOT found
function 'termattrs' NOT found
function 'termname' NOT found
function 'touchwin' NOT found
function 'untouchwin' NOT found
function 'wtouchln' NOT found
function 'is_linetouched' NOT found
function 'is_wintouched' NOT found
function 'unctrl' NOT found
function 'keyname' NOT found
function 'filter' NOT found
function 'filter' returns void
function 'use_env' NOT found
function 'putwin' NOT found
function 'getwin' NOT found
function 'delay_output' NOT found
function 'flushinp' NOT found
function 'newwin' NOT found
function 'delwin' NOT found
function 'mvwin' NOT found
function 'subwin' NOT found
function 'derwin' NOT found
function 'mvderwin' NOT found
function 'dupwin' NOT found
function 'wsyncup' NOT found
function 'syncok' NOT found
function 'wcursyncup' NOT found
function 'wsyncdown' NOT found
function 'getmouse' NOT found
function 'ungetmouse' NOT found
function 'mousemask' NOT found
function 'wenclose' NOT found
function 'wmouse_trafo' NOT found
function 'mouseinterval' NOT found
function 'BUTTON_RELEASE' NOT found
function 'BUTTON_PRESS' NOT found
function 'BUTTON_CLICK' NOT found
function 'BUTTON_DOUBLE_CLICK' NOT found
function 'BUTTON_TRIPLE_CLICK' NOT found
function 'BUTTON_RESERVED_EVENT' NOT found
function 'use_default_colors' NOT found
function 'assume_default_colors' NOT found
function 'define_key' NOT found
function 'keybound' NOT found
function 'keyok' NOT found
function 'resizeterm' NOT found
function 'wresize' NOT found
function 'getmaxy' NOT found
function 'getmaxx' NOT found
function 'flusok' NOT found
function 'getcap' NOT found
function 'touchoverlap' NOT found
function 'new_panel' NOT found
function 'bottom_panel' NOT found
function 'top_panel' NOT found
function 'show_panel' NOT found
function 'update_panels' NOT found
function 'hide_panel' NOT found
function 'panel_window' NOT found
function 'replace_panel' NOT found
function 'move_panel' NOT found
function 'panel_hidden' NOT found
function 'panel_above' NOT found
function 'panel_below' NOT found
function 'set_panel_userptr' NOT found
function 'panel_userptr' NOT found
function 'del_panel' NOT found
function 'set_menu_fore' NOT found
function 'menu_fore' NOT found
function 'set_menu_back' NOT found
function 'menu_back' NOT found
function 'set_menu_grey' NOT found
function 'menu_grey' NOT found
function 'set_menu_pad' NOT found
function 'menu_pad' NOT found
function 'pos_menu_cursor' NOT found
function 'menu_driver' NOT found
function 'set_menu_format' NOT found
function 'menu_format' NOT found
function 'set_menu_items' NOT found
function 'menu_items' NOT found
function 'item_count' NOT found
function 'set_menu_mark' NOT found
function 'menu_mark' NOT found
function 'new_menu' NOT found
function 'free_menu' NOT found
function 'menu_opts' NOT found
function 'set_menu_opts' NOT found
function 'menu_opts_on' NOT found
function 'menu_opts_off' NOT found
function 'set_menu_pattern' NOT found
function 'menu_pattern' NOT found
function 'post_menu' NOT found
function 'unpost_menu' NOT found
function 'set_menu_userptr' NOT found
function 'menu_userptr' NOT found
function 'set_menu_win' NOT found
function 'menu_win' NOT found
function 'set_menu_sub' NOT found
function 'menu_sub' NOT found
function 'scale_menu' NOT found
function 'set_current_item' NOT found
function 'current_item' NOT found
function 'set_top_row' NOT found
function 'top_row' NOT found
function 'item_index' NOT found
function 'item_name' NOT found
function 'item_description' NOT found
function 'new_item' NOT found
function 'free_item' NOT found
function 'set_item_opts' NOT found
function 'item_opts_on' NOT found
function 'item_opts_off' NOT found
function 'item_opts' NOT found
function 'item_userptr' NOT found
function 'set_item_userptr' NOT found
function 'set_item_value' NOT found
function 'item_value' NOT found
function 'item_visible' NOT found
function 'menu_request_name' NOT found
function 'menu_request_by_name' NOT found
function 'set_menu_spacing' NOT found
function 'menu_spacing' NOT found
function 'pos_form_cursor' NOT found
function 'data_ahead' NOT found
function 'data_behind' NOT found
function 'form_driver' NOT found
function 'set_form_fields' NOT found
function 'form_fields' NOT found
function 'field_count' NOT found
function 'move_field' NOT found
function 'new_form' NOT found
function 'free_form' NOT found
function 'set_new_page' NOT found
function 'new_page' NOT found
function 'set_form_opts' NOT found
function 'form_opts_on' NOT found
function 'form_opts_off' NOT found
function 'form_opts' NOT found
function 'set_current_field' NOT found
function 'current_field' NOT found
function 'set_form_page' NOT found
function 'form_page' NOT found
function 'field_index' NOT found
function 'post_form' NOT found
function 'unpost_form' NOT found
function 'set_form_userptr' NOT found
function 'form_userptr' NOT found
function 'set_form_win' NOT found
function 'form_win' NOT found
function 'set_form_sub' NOT found
function 'form_sub' NOT found
function 'scale_form' NOT found
function 'set_field_fore' NOT found
function 'field_fore' NOT found
function 'set_field_back' NOT found
function 'field_back' NOT found
function 'set_field_pad' NOT found
function 'field_pad' NOT found
function 'set_field_buffer' NOT found
function 'field_buffer' NOT found
function 'set_field_status' NOT found
function 'field_status' NOT found
function 'set_max_field' NOT found
function 'field_info' NOT found
function 'dynamic_field_info' NOT found
function 'set_field_just' NOT found
function 'field_just' NOT found
function 'new_field' NOT found
function 'dup_field' NOT found
function 'link_field' NOT found
function 'free_field' NOT found
function 'set_field_opts' NOT found
function 'field_opts_on' NOT found
function 'field_opts_off' NOT found
function 'field_opts' NOT found
function 'set_field_userptr' NOT found
function 'field_userptr' NOT found
function 'field_arg' NOT found
function 'form_request_name' NOT found
function 'form_request_by_name' NOT found
variable 'LINES' NOT found
variable 'COLS' NOT found
variable 'stdscr' NOT found
variable 'curscr' NOT found
variable 'COLORS' NOT found
variable 'COLOR_PAIRS' NOT found
typedef 'attr_t' NOT found
typedef 'bool' NOT found
typedef 'chtype' NOT found
typedef 'MEVENT' NOT found
typedef 'mmask_t' NOT found
typedef 'SCREEN' NOT found
cc -c -I/usr/include/ncurses -DDEBIAN -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"1.12\" -DXS_VERSION=\"1.12\" -fPIC -I/usr/lib/perl/5.6.1/CORE Curses.c
In file included from Curses.c:11:
c-config.h:9: ncurses.h: No such file or directory
make: *** [Curses.o] Error 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

Was nu? :(
perl -Mstrict -Mwarnings -e 'package blub; sub new { bless {} } sub bar {my $self=shift; $self->{bla}="5065726c2d436f6d6d756e697479"; return $self->{bla};} my $foo=blub->new();print "Hallo ";print pack("H*",$foo->bar()); print "\n"'

http://perl-tutor.de
romulus
 2005-05-11 22:29
#54782 #54782
User since
2004-04-05
23 Artikel
BenutzerIn
[default_avatar]
Ich meinte direkt auf der Seite von cpan. Ja, die Abhängigkeiten werden schon aufgelöst allerdings hat das bei mir nie besonders gut funktioniert.
<< |< 1 2 >| >> 19 Einträge, 2 Seiten



View all threads created 2005-05-11 20:46.