From: Pw Ktp on
Brian Candler wrote:
> Pw Ktp wrote:
>> so if it is showing that if I have it installed how i can force gem
>> install to work ??
>
> apt-cache shows what packages are available.
>
> If you have it installed, then there is some other problem. Post your
> mkmf.log which will show the actual compiler error.
>
> This will probably be somewhere under
>
> /var/lib/gems/1.8/gems/derailed-rhouse-*/ext/


there is not mkmf.log for derailed-rhouse .... but there is for other
gems..

?
--
Posted via http://www.ruby-forum.com/.

From: Pw Ktp on
Brian Candler wrote:
> Brian Candler wrote:
>> apt-cache shows what packages are available.
>
> That is, available to be installed.
>
> dpkg-query -l | grep stdc
>
> will show you if you have it installed.


linuxmce(a)dcerouter:/usr/lib/ruby/gems/1.8/gems$ dpkg-query -l | grep
stdc
ii libstdc++5 1:3.3.6-15ubuntu2
The GNU Standard C++ Library v3
ii libstdc++5-3.3-dev 1:3.3.6-15ubuntu2
The GNU Standard C++ Library v3 (development
ii libstdc++6 4.2.1-5ubuntu4
The GNU Standard C++ Library v3
ii xstdcmap 1:1.0.1-0ubuntu2
X client - xstdcmap

so it is installed ? how can i inform rubygems that it is there?

thanks
--
Posted via http://www.ruby-forum.com/.

From: Pw Ktp on
sorry i meant to say its installed but am still getting the same problem
as in ruby gems claims that it is not there.

HELP!

Pw Ktp wrote:
> Brian Candler wrote:
>> Brian Candler wrote:
>>> apt-cache shows what packages are available.
>>
>> That is, available to be installed.
>>
>> dpkg-query -l | grep stdc
>>
>> will show you if you have it installed.
>
>
> linuxmce(a)dcerouter:/usr/lib/ruby/gems/1.8/gems$ dpkg-query -l | grep
> stdc
> ii libstdc++5 1:3.3.6-15ubuntu2
> The GNU Standard C++ Library v3
> ii libstdc++5-3.3-dev 1:3.3.6-15ubuntu2
> The GNU Standard C++ Library v3 (development
> ii libstdc++6 4.2.1-5ubuntu4
> The GNU Standard C++ Library v3
> ii xstdcmap 1:1.0.1-0ubuntu2
> X client - xstdcmap
>
> so it is installed ? how can i inform rubygems that it is there?
>
> thanks

--
Posted via http://www.ruby-forum.com/.

From: Brian Candler on
Pw Ktp wrote:
> linuxmce(a)dcerouter:/usr/lib/ruby/gems/1.8/gems$ dpkg-query -l | grep
> stdc
> ii libstdc++5 1:3.3.6-15ubuntu2
> The GNU Standard C++ Library v3
> ii libstdc++5-3.3-dev 1:3.3.6-15ubuntu2
> The GNU Standard C++ Library v3 (development
> ii libstdc++6 4.2.1-5ubuntu4
> The GNU Standard C++ Library v3
> ii xstdcmap 1:1.0.1-0ubuntu2
> X client - xstdcmap

If you have libstdc++6, then you should be able to install
libstdc++6-4.2-dev (unless you got that libstdc++6 package from
somewhere outside the standard Ubuntu package respositories)

If you're not getting a mkmf.log, then perhaps it's failing building a
dependency. Look for the mkmf.log with the most recent timestamp

find /var/lib/gems/1.8/gems -name mkmf.log | xargs ls -lrt
--
Posted via http://www.ruby-forum.com/.

From: Pw Ktp on
Brian Candler wrote:
> Pw Ktp wrote:
>> linuxmce(a)dcerouter:/usr/lib/ruby/gems/1.8/gems$ dpkg-query -l | grep
>> stdc
>> ii libstdc++5 1:3.3.6-15ubuntu2
>> The GNU Standard C++ Library v3
>> ii libstdc++5-3.3-dev 1:3.3.6-15ubuntu2
>> The GNU Standard C++ Library v3 (development
>> ii libstdc++6 4.2.1-5ubuntu4
>> The GNU Standard C++ Library v3
>> ii xstdcmap 1:1.0.1-0ubuntu2
>> X client - xstdcmap
>
> If you have libstdc++6, then you should be able to install
> libstdc++6-4.2-dev (unless you got that libstdc++6 package from
> somewhere outside the standard Ubuntu package respositories)
>
> If you're not getting a mkmf.log, then perhaps it's failing building a
> dependency. Look for the mkmf.log with the most recent timestamp
>
> find /var/lib/gems/1.8/gems -name mkmf.log | xargs ls -lrt

anything from this >??

cat /usr/lib/ruby/gems/1.8/gems/id3lib-ruby-0.5.0/ext/mkmf.log
have_library: checking for main() in -lstdc++... -------------------- no

"cc -o conftest -I. -I/usr/lib/ruby/1.8/i486-linux -I.
-fno-strict-aliasing -g -O2 -fPIC conftest.c -L"." -L"/usr/lib" -L.
-rdynamic -Wl,-export-dynamic -lruby1.8-static -lstdc++ -lpthread
-ldl -lcrypt -lm -lc"
/usr/bin/ld: cannot find -lstdc++
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { void ((*volatile p)()); p = (void ((*)()))main; return 0; }
/* end */

"cc -o conftest -I. -I/usr/lib/ruby/1.8/i486-linux -I.
-fno-strict-aliasing -g -O2 -fPIC conftest.c -L"." -L"/usr/lib" -L.
-rdynamic -Wl,-export-dynamic -lruby1.8-static -lstdc++ -lpthread
-ldl -lcrypt -lm -lc"
/usr/bin/ld: cannot find -lstdc++
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { main(); return 0; }
/* end */

--------------------

linuxmce(a)dcerouter:/usr/lib/ruby/gems/1.8/gems$
--
Posted via http://www.ruby-forum.com/.