Hi,
Thanks for your answer. To answer your point:
Like what specific error messages, etc...
It gives:
Can't open perl script "CFLAGS=-I /home/ewijaya/MyBioTool/libstree-0. +4.2/include": No such file or directory. Use -S to search $PATH for it.
I think if the variables are set correctly, as it seems they are in your ~/.bashrc, you can just run
No, they are in my .bash_profile. Running those command you suggest also gave exactly the same error message as in my OP.
then type printenv, and check that the variables are set correctly.
Here is what I have:
HOSTNAME=hostname.edu.sg SHELL=/bin/bash TERM=vt100 HISTSIZE=1000 SSH_CLIENT=::ffff:192.168.138.154 1730 22 PERL5LIB=/home/monkfan/lib/perl5/site_perl/5.8.5/i686-linux:/home/monk +fan/lib/perl5/site_perl/5.8.5 SSH_TTY=/dev/pts/2 USER=monkfan LS_COLORS=no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:bd=40;33;01: +cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=01;32:*.cmd=01;32:*.exe= +01;32:*.com=01;32:*.btm=01;32:*.bat=01;32:*.sh=01;32:*.csh=01;32:*.ta +r=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:* +.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tz=01;31:*.rpm +=01;31:*.cpio=01;31:*.jpg=01;35:*.gif=01;35:*.bmp=01;35:*.xbm=01;35:* +.xpm=01;35:*.png=01;35:*.tif=01;35: KDEDIR=/usr LDLAGS=LDFLAGS-L/home/monkfan/MyBioTool/libstree-0.4.2/lib PATH=/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/ho +me/monkfan/bin: MAIL=/var/spool/mail/monkfan _=/usr/bin/printenv PWD=/home/monkfan INPUTRC=/etc/inputrc LANG=en_US.UTF-8 SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass HOME=/home/monkfan SHLVL=2 CFLAGS=-I/home/monkfan/MyBioTool/libstree-0.4.2/include LOGNAME=monkfan SSH_CONNECTION=::ffff:192.168.138.154 1730 ::ffff:192.122.132.36 22 LESSOPEN=|/usr/bin/lesspipe.sh %s VIMRUNTIME=/usr/share/vim/vim63 G_BROKEN_FILENAMES=1


And no, I don't have a SU previlege. So I have no choice but to install it locally.
Update: corrected "ewijaya" to "monkfan", that value I manually replace them.

Regards,
Edward

In reply to Re^2: Installing Perl Wrapper Module for a C Library (Tree::Suffix) Locally by monkfan
in thread Installing Perl Wrapper Module for a C Library (Tree::Suffix) Locally by monkfan

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.