LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-14-2008, 07:23 PM   #1
waelaltaqi
Member
 
Registered: Sep 2005
Location: USA, TN
Distribution: CentOS & Ubuntu for Desktop
Posts: 454

Rep: Reputation: 31
error compiling a perl module?


i'm trying to install Unicode::Map

Code:
NG#perl Makefile.pl
NG#make
/usr/lib/perl/5.8/CORE/intrpvar.h:237: error: expected â=â, â,â, â;â, âasmâ or __attribute__â before â*â token
/usr/lib/perl/5.8/CORE/intrpvar.h:238: error: expected â=â, â,â, â;â, âasmâ or __attribute__â before â*â token
/usr/lib/perl/5.8/CORE/intrpvar.h:239: error: expected â=â, â,â, â;â, âasmâ or __attribute__â before â*â token
/usr/lib/perl/5.8/CORE/intrpvar.h:240: error: expected â=â, â,â, â;â, âasmâ or __attribute__â before â*â token
In file included from /usr/lib/perl/5.8/CORE/perlapi.h:39,
                 from /usr/lib/perl/5.8/CORE/XSUB.h:349,
                 from Map.xs:22:
/usr/lib/perl/5.8/CORE/perlvars.h:31: error: expected â=â, â,â, â;â, âasmâ or â_attribute__â before â*â token
/usr/lib/perl/5.8/CORE/perlvars.h:48: error: expected â=â, â,â, â;â, âasmâ or â_attribute__â before â*â token
/usr/lib/perl/5.8/CORE/perlvars.h:52: error: expected â=â, â,â, â;â, âasmâ or â_attribute__â before â*â token
Map.xs: In function â_wordâ:
Map.xs:85: warning: incompatible implicit declaration of built-in function âmempyâ
Map.xs: In function â_longâ:
Map.xs:88: warning: incompatible implicit declaration of built-in function âmempyâ
Map.xs: In function â__system_testâ:
Map.xs:97: error: invalid type argument of âunary *â
Map.xs:103: error: invalid type argument of âunary *â
Map.xs:103: error: invalid type argument of âunary *â
Map.xs:104: error: invalid type argument of âunary *â
Map.xs:104: error: invalid type argument of âunary *â
Map.xs:105: error: invalid type argument of âunary *â
Map.xs:105: error: invalid type argument of âunary *â
Map.xs:111: error: invalid type argument of âunary *â
Map.xs:111: error: invalid type argument of âunary *â
Map.xs:112: error: invalid type argument of âunary *â
Map.xs:112: error: invalid type argument of âunary *â
Map.xs:113: error: invalid type argument of âunary *â
Map.xs:113: error: invalid type argument of âunary *â
Map.xs:114: error: invalid type argument of âunary *â
Map.xs:114: error: invalid type argument of âunary *â
Map.xs:119: error: invalid type argument of âunary *â
Map.xs:119: error: invalid type argument of âunary *â
Map.xs:120: error: invalid type argument of âunary *â
Map.xs:120: error: invalid type argument of âunary *â
Map.xs:122: error: invalid type argument of âunary *â
Map.xs:122: error: invalid type argument of âunary *â
Map.xs:123: error: invalid type argument of âunary *â
Map.xs:123: error: invalid type argument of âunary *â
Map.xs:131: error: invalid type argument of âunary *â
Map.xs:131: error: invalid type argument of âunary *â
Map.xs:135: error: invalid type argument of âunary *â
Map.xs:135: error: invalid type argument of âunary *â
Map.xs:138: error: invalid type argument of âunary *â
Map.xs:138: error: invalid type argument of âunary *â
Map.xs:141: error: invalid type argument of âunary *â
Map.xs:141: error: invalid type argument of âunary *â
Map.xs: In function â__limit_olâ:
Map.xs:164: error: invalid type argument of âunary *â
Map.xs:168: error: invalid type argument of âunary *â
Map.xs:169: error: invalid type argument of âunary *â
Map.xs:170: error: invalid type argument of âunary *â
Map.xs:179: error: invalid type argument of âunary *â
Map.xs:185: error: invalid type argument of âunary *â
Map.xs:190: error: invalid type argument of âunary *â
Map.xs:199: error: invalid type argument of âunary *â
Map.xs: In function â__read_binary_mappingâ:
Map.xs:265: error: invalid type argument of âunary *â
Map.xs:273: error: invalid type argument of âunary *â
Map.xs:290: error: invalid type argument of âunary *â
Map.xs:327: error: invalid type argument of âunary *â
Map.xs:328: error: invalid type argument of âunary *â
Map.xs:328: error: invalid type argument of âunary *â
Map.xs:328: error: invalid type argument of âunary *â
Map.xs:330: error: invalid type argument of âunary *â
Map.xs:332: error: invalid type argument of âunary *â
Map.xs:342: error: invalid type argument of âunary *â
Map.xs:343: error: invalid type argument of âunary *â
Map.xs:343: error: invalid type argument of âunary *â
Map.xs:343: error: invalid type argument of âunary *â
Map.xs:345: error: invalid type argument of âunary *â
Map.xs:347: error: invalid type argument of âunary *â
Map.xs:364: error: invalid type argument of âunary *â
Map.xs:367: error: invalid type argument of âunary *â
Map.xs:368: error: invalid type argument of âunary *â
Map.xs:371: error: invalid type argument of âunary *â
Map.xs:372: error: invalid type argument of âunary *â
Map.xs:389: error: invalid type argument of âunary *â
Map.xs:390: error: invalid type argument of âunary *â
Map.xs:391: error: invalid type argument of âunary *â
Map.xs:392: error: invalid type argument of âunary *â
Map.xs:406: error: invalid type argument of âunary *â
Map.xs:407: error: invalid type argument of âunary *â
Map.xs:408: error: invalid type argument of âunary *â
Map.xs:409: error: invalid type argument of âunary *â
Map.xs:418: error: invalid type argument of âunary *â
Map.xs:426: error: invalid type argument of âunary *â
Map.xs:443: error: invalid type argument of âunary *â
Map.xs:465: error: invalid type argument of âunary *â
Map.xs:473: error: invalid type argument of âunary *â
Map.xs:481: error: invalid type argument of âunary *â
Map.xs:484: error: invalid type argument of âunary *â
Map.xs:486: error: invalid type argument of âunary *â
Map.xs:487: error: invalid type argument of âunary *â
Map.xs:500: error: invalid type argument of âunary *â
Map.xs:505: error: invalid type argument of âunary *â
Map.xs:506: error: invalid type argument of âunary *â
Map.xs:508: error: invalid type argument of âunary *â
Map.xs:509: error: invalid type argument of âunary *â
Map.xs:517: error: invalid type argument of âunary *â
Map.xs:526: error: invalid type argument of âunary *â
Map.c: In function âXS_Unicode__Map__reverse_unicodeâ:
Map.c:554: error: invalid type argument of âunary *â
Map.c:554: error: invalid type argument of âunary *â
Map.c:554: error: invalid type argument of âunary *â
Map.c:556: error: invalid type argument of âunary *â
Map.c:559: error: invalid type argument of âunary *â
Map.c:560: error: invalid type argument of âunary *â
Map.xs:560: error: invalid type argument of âunary *â
Map.xs:561: error: invalid type argument of âunary *â
Map.xs:565: error: invalid type argument of âunary *â
Map.xs:565: error: invalid type argument of âunary *â
Map.xs:565: error: invalid type argument of âunary *â
Map.xs:565: error: invalid type argument of âunary *â
Map.xs:571: error: invalid type argument of âunary *â
Map.xs:571: error: invalid type argument of âunary *â
Map.c:595: error: invalid type argument of âunary *â
Map.c: In function âXS_Unicode__Map__map_hashâ:
Map.c:604: error: invalid type argument of âunary *â
Map.c:604: error: invalid type argument of âunary *â
Map.c:604: error: invalid type argument of âunary *â
Map.c:606: error: invalid type argument of âunary *â
Map.c:608: error: invalid type argument of âunary *â
Map.c:609: error: invalid type argument of âunary *â
Map.c:610: error: invalid type argument of âunary *â
Map.c:611: error: invalid type argument of âunary *â
Map.c:612: error: invalid type argument of âunary *â
Map.c:613: error: invalid type argument of âunary *â
Map.xs:607: error: invalid type argument of âunary *â
Map.xs:611: error: invalid type argument of âunary *â
Map.xs:615: error: invalid type argument of âunary *â
Map.xs:617: error: invalid type argument of âunary *â
Map.xs:619: error: invalid type argument of âunary *â
Map.c:643: error: invalid type argument of âunary *â
Map.c:644: error: invalid type argument of âunary *â
Map.c:644: error: invalid type argument of âunary *â
Map.c:646: error: invalid type argument of âunary *â
Map.c:646: error: invalid type argument of âunary *â
Map.c: In function âXS_Unicode__Map__map_hashlistâ:
Map.c:653: error: invalid type argument of âunary *â
Map.c:653: error: invalid type argument of âunary *â
Map.c:653: error: invalid type argument of âunary *â
Map.c:655: error: invalid type argument of âunary *â
Map.c:657: error: invalid type argument of âunary *â
Map.c:658: error: invalid type argument of âunary *â
Map.c:659: error: invalid type argument of âunary *â
Map.c:660: error: invalid type argument of âunary *â
Map.c:661: error: invalid type argument of âunary *â
Map.c:662: error: invalid type argument of âunary *â
Map.xs:655: error: invalid type argument of âunary *â
Map.xs:659: error: invalid type argument of âunary *â
Map.xs:660: error: invalid type argument of âunary *â
Map.xs:673: error: invalid type argument of âunary *â
Map.xs:675: error: invalid type argument of âunary *â
Map.xs:676: error: invalid type argument of âunary *â
Map.xs:677: error: invalid type argument of âunary *â
Map.xs:679: error: invalid type argument of âunary *â
Map.xs:681: error: invalid type argument of âunary *â
Map.c:715: error: invalid type argument of âunary *â
Map.c:716: error: invalid type argument of âunary *â
Map.c:716: error: invalid type argument of âunary *â
Map.c:718: error: invalid type argument of âunary *â
Map.c:718: error: invalid type argument of âunary *â
Map.c: In function âXS_Unicode__Map__read_binary_mappingâ:
Map.c:725: error: invalid type argument of âunary *â
Map.c:725: error: invalid type argument of âunary *â
Map.c:725: error: invalid type argument of âunary *â
Map.c:727: error: invalid type argument of âunary *â
Map.c:729: error: invalid type argument of âunary *â
Map.c:730: error: invalid type argument of âunary *â
Map.c:731: error: invalid type argument of âunary *â
Map.c:732: error: invalid type argument of âunary *â
Map.c:733: error: invalid type argument of âunary *â
Map.xs:709: error: invalid type argument of âunary *â
Map.c:739: error: invalid type argument of âunary *â
Map.c:740: error: invalid type argument of âunary *â
Map.c:740: error: invalid type argument of âunary *â
Map.c:742: error: invalid type argument of âunary *â
Map.c:742: error: invalid type argument of âunary *â
Map.c: In function âXS_Unicode__Map__system_testâ:
Map.c:749: error: invalid type argument of âunary *â
Map.c:749: error: invalid type argument of âunary *â
Map.c:749: error: invalid type argument of âunary *â
Map.c:751: error: invalid type argument of âunary *â
Map.c:757: error: invalid type argument of âunary *â
Map.c:757: error: invalid type argument of âunary *â
Map.c:758: error: invalid type argument of âunary *â
Map.c:758: error: invalid type argument of âunary *â
Map.c:760: error: invalid type argument of âunary *â
Map.c:760: error: invalid type argument of âunary *â
Map.c: In function âboot_Unicode__Mapâ:
Map.c:769: error: invalid type argument of âunary *â
Map.c:769: error: invalid type argument of âunary *â
Map.c:769: error: invalid type argument of âunary *â
Map.c:772: error: invalid type argument of âunary *â
Map.c:772: error: invalid type argument of âunary *â
Map.c:772: error: invalid type argument of âunary *â
Map.c:772: error: invalid type argument of âunary *â
Map.c:772: error: invalid type argument of âunary *â
Map.c:772: error: invalid type argument of âunary *â
Map.c:772: error: invalid type argument of âunary *â
Map.c:772: error: invalid type argument of âunary *â
Map.c:772: error: invalid type argument of âunary *â
Map.c:772: error: invalid type argument of âunary *â
Map.c:772: error: invalid type argument of âunary *â
Map.c:774: error: invalid type argument of âunary *â
Map.c:775: error: invalid type argument of âunary *â
Map.c:776: error: invalid type argument of âunary *â
Map.c:777: error: invalid type argument of âunary *â
Map.c:778: error: invalid type argument of âunary *â
Map.c:779: error: invalid type argument of âunary *â
Map.c:779: error: invalid type argument of âunary *â
Map.c:779: error: invalid type argument of âunary *â
Map.c:779: error: invalid type argument of âunary *â
make: *** [Map.o] Error 1
NG:~/downloads/Unicode-Map-0.112#
At fist, i was trying to install using perl -MCPAN -e shell which asked me to install make. i installed gcc and make using apt-get ... is there anything i can do to make it work? according to README, no other models are required. i tried to install stright from CPAN repository but it didn't work:
Code:
/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

cpan>
i installed other modules no problem .. like Spreadsheet::ParseExcel and Locale::Recode ...
any help will be appreciated ..

Last edited by waelaltaqi; 03-14-2008 at 07:25 PM.
 
Old 03-15-2008, 04:39 AM   #2
j-ray
Senior Member
 
Registered: Jan 2002
Location: germany
Distribution: ubuntu, mint, suse
Posts: 1,591

Rep: Reputation: 145Reputation: 145
you need an "extension" to gcc base package called "gcc-4.x.x-multilib"
 
Old 03-15-2008, 02:12 PM   #3
waelaltaqi
Member
 
Registered: Sep 2005
Location: USA, TN
Distribution: CentOS & Ubuntu for Desktop
Posts: 454

Original Poster
Rep: Reputation: 31
Worked.

that worked. Thanks!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Error while compiling module for kernel 2.6.15-1 pathak_ashish Linux - Newbie 0 11-20-2007 05:17 AM
Statically compiling Perl error!! neilengineer Linux - Software 0 03-13-2007 01:35 AM
compiling a module: how do I resolve this error? scorpion_gr Linux - Software 15 11-20-2006 03:33 PM
perl Module error; DanTaylor Programming 5 02-03-2006 11:54 AM
perl compiling error...... apenguinlinux Programming 5 01-24-2005 04:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:09 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration