Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (7) </ 1 2 3 4 [5] 6 7 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: R myDSL effort - dependancy problem< Next Oldest | Next Newest >
softgun Offline





Group: Members
Posts: 120
Joined: Dec. 2004
Posted: Mar. 27 2005,16:10 QUOTE

Hi Clacker,

I did most of what you said, but I am asked for a library file called zlib during make. i downloaded the latest zlib.
Now how can I put this in and make postgresql read it during make?

I ran configure --with libraries=/opt/lib afte adding the LD_LIBRARY_ PATH but despite the fact that zlib is there in a packed file in the /opt/lib, the make program repeats that it cannot find the particular file!

I then did something undesireable but worked around by doing configure --without-zlib and make ran and said postgresql was ready to install. When runnign make install, it aain stops saying another file called ascii_moi.so is missing from $libdir/, but the file IS there in the library path!

Any reason for this? Iis it a ownership problem?

i also found that we can edit the Makefile to set the prefix if there is no way to do this from the configure.

I am getting warmed to this thanks to you! :-)
Back to top
Profile PM 
clacker Offline





Group: Members
Posts: 570
Joined: June 2004
Posted: Mar. 27 2005,23:59 QUOTE

How did you load zlib?  Did you use apt-get?  I've found when a configure/make asks for a library, you need to apt-get the -dev version of that package so that you get the include files.  In this case I guess that's zlib1g-dev.  If you don't get the dev version, gcc can't use the *.h files to let the compiler know where things are in the libraries.  Once the program has been compiled, in most cases those *-dev files are no longer needed.
Back to top
Profile PM 
clacker Offline





Group: Members
Posts: 570
Joined: June 2004
Posted: Mar. 28 2005,02:19 QUOTE

Quote
In summary, k4nt1 should be able to type at the R-prompt:
library(KernSmooth)
library(VR)
library(boot)
library(cluster)
library(foreign)
library(lattice)
library(mgcv)
library(nlme)
library(rpart)
library(survival)
and if these R-libraries all load without errors, all is well with r-recommended. I just suspect they will have to be R INSTALLed first.


I remade the R.tar.gz package.  It turns out I needed to apt-get perl, tcl8.3, and tk8.3 to get things in recomended to compile.  I tried the above libraries and all but VR loaded.  I believe VR compiled, because it failed without perl like I said, but I don't see it when I type library(VR).

It's up to around 15 megs now.  demo() now gives you a nice list of the available demos, and the html help is there.  I set the R_BROWSER configuration variable so that R would use firefox.  It wants java for some of it's help pages, but you should be able to load that extension from the repository.  You might need the tcltk, gcc1, and gtk2 extensions for some things, but I did write a working function without it.

Try it out, if you like it it's yours to keep. :)
Back to top
Profile PM 
Doofer Offline





Group: Members
Posts: 12
Joined: Mar. 2005
Posted: Mar. 28 2005,08:55 QUOTE

That's a really good piece of work!
I shall check the the testing area (the one accessed from the DSL front page, yes?) daily, in eager anticipation; once it's up I'll give it a workout.
Many thanks for this.
Back to top
Profile PM 
softgun Offline





Group: Members
Posts: 120
Joined: Dec. 2004
Posted: Mar. 28 2005,10:45 QUOTE

Quote (clacker @ Mar. 27 2005,18:59)
How did you load zlib?  Did you use apt-get?  I've found when a configure/make asks for a library, you need to apt-get the -dev version of that package so that you get the include files.  In this case I guess that's zlib1g-dev.  If you don't get the dev version, gcc can't use the *.h files to let the compiler know where things are in the libraries.  Once the program has been compiled, in most cases those *-dev files are no longer needed.

Hi Clacker,

I installed zlib with the source tar file. i had to get the latest version because there was a security issue in the erlier versions.
i will try apt-get and see if there is a dev file as well. You are right. Without the dev file many programs in Debian systems do not compile. This happened to me with compiling zope which needs python-dev!
Back to top
Profile PM 
32 replies since Mar. 15 2005,20:16 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (7) </ 1 2 3 4 [5] 6 7 >/
reply to topic new topic new poll
Quick Reply: R myDSL effort - dependancy problem

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code