Skip Menu |

This queue is for tickets about the Tree-Suffix CPAN distribution.

Report information
The Basics
Id: 18190
Status: resolved
Priority: 0/
Queue: Tree-Suffix

People
Owner: Nobody in particular
Requestors: ewijaya [...] i2r.a-star.edu.sg
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Path Setting Mechanism for Makefile ?
Dear Gray, I'm really sorry for coming back to you again. I've been trying to look for the solution of my earlier problem - Installing Tree::Suffix in local directory. Some of the exchange can be found here http://www.perlmonks.com/?node_id=536784 I've tried all means to install the module locally. Including manually doing these: $perl Makefile.PL CFLAGS="$CFLAGS -I$HOME/MyBioTool/libstree-0.4.2/ include" LDFLAGS="$LDFLAGS -L$HOME/MyBioTool/libstree-0.4.2/lib" or $perl Makefile.PL CCFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" or perl -w Makefile.PL "INC=-I $HOME/MyBioTool/libstree-0.4.2/include" "LIB=-L $HOME/MyBioTool/libstree-0.4.2/lib" The module still couldnt create the right Makefile, resulting failure to install. I was wondering is it because Tree::Suffix doesn't contain the mechanism that allow us to set the path? -- Regards, Edward PS: Note that the library argument for Makefile.PL comes after. Unlike your latest suggestion to my email.
sorry, but this is not a problem with the module. you'd probably get wiser advice from the newsgroups than perlmonks. add this to the Makefile.PL: $path = "$HOME/MyBioTool/libstree-0.4.2"; #this goes in WriteMakefile LIBS => [ "-L$path/lib", -lstree' ], INC => ["-I$path/include"], beyond this suggestion i cannot help you. On Wed Mar 15 20:24:16 2006, guest wrote: Show quoted text
> Dear Gray, > > I'm really sorry for coming back to you again. > I've been trying to look for the solution of my earlier > problem - Installing Tree::Suffix in local directory. > Some of the exchange can be found here > > http://www.perlmonks.com/?node_id=536784 > > I've tried all means to install the module locally. > Including manually doing these: > > $perl Makefile.PL CFLAGS="$CFLAGS -I$HOME/MyBioTool/libstree-0.4.2/ > include" LDFLAGS="$LDFLAGS -L$HOME/MyBioTool/libstree-0.4.2/lib" > > or > > $perl Makefile.PL CCFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" > > or > > perl -w Makefile.PL "INC=-I $HOME/MyBioTool/libstree-0.4.2/include" > "LIB=-L $HOME/MyBioTool/libstree-0.4.2/lib" > > > The module still couldnt create the right Makefile, resulting > failure to install. I was wondering is it because Tree::Suffix > doesn't contain the mechanism that allow us to set the path? > > -- > Regards, > Edward > > PS: Note that the library argument for Makefile.PL comes after. > Unlike your latest suggestion to my email.