problem about ubuntu-11.04-Collection of common programming errors
jcollum
ruby ruby-on-rails-3 windows-7 bundler ubuntu-11.04
I have a Rails app that I’m developing on Windows and deploying to Linux. I suspect I’ll just switch entirely over to Linux in the future. Anyway, on Linux I need ‘execjs’ and ‘therubyracer’ but I don’t need those in Win7. So I put these lines in my gemfile: gem ‘therubyracer
Alec
ruby-on-rails ubuntu-11.04
I’m still relatively new to Rails and Ruby – and after upgrading to the new version of Ubuntu (11.04), my rails installation is not working correctly. I’ve tried updating Rails, and updating the versions I have installed using RVM, none of which worked.Here is the terminal output:/usr/share/rails-ruby1.8/railties/lib/rails_generator/options.rb:32:in `default_opt
udo
linux ubuntu php ubuntu-11.04 pear
when runningpear upgradethe following error is raised:PHP Fatal error: Call to undefined method PEAR::raiseErro() in /usr/share/php/PEAR/REST.php on line 165 PHP Stack trace: PHP 1. {main}() /usr/share/php/pearc
Obinwanne Hill
ubuntu ubuntu-11.04 pdflib
I’m trying to compile PDFLib on Ubuntu Natty (11.04) 32-bit. However, I’m running into a few issues at the ‘make’ stage.Just to recap:I downloaded PDFLib from here I Extract the contents and cd into the directory I then do ./configure and everything goes wellBut when I do make I get what you see below after it runs for a while:../../libtool –silent –mode=link gcc -o libpdf.la -rpath /usr/local/lib -version-info 6:5:0 ./pdflib.lo ../../libs/pdflib/libpdf_.la ../../libs/font/libfont.la ../../libs/pdcore/libpdcore.la ../../libs/png/libpng.la ../../libs/flate/libz.la ../../libs/tiff/libtiff.la ../../libs/jpeg/libjpeg.la -lm -export-dynamic ../../libtool –silent –mode=link gcc -o libs_libpdf.la ./pdflib.lo ../../libs/pdflib/libpdf_.la ../../libs/font/libfont.la ../../libs/pdcore/libpdcore.la ../../libs/png/libpng.la ../../libs/flate/libz.la ../../libs/tiff/libtiff.la ../../libs/jpeg/libjpeg
hakre
php postgresql apache2 ubuntu-11.04
I’ve installed Apache2 with php5 support and everything works there. I’ve installed PostgreSQL and am able to connect to it using the terminal and execute SQL statements.PROBLEM: I can’t get a working connection between my php scripts and the PostgreSQL database. I have installed the php5-pgsql packaged from the
hakre
php linux curl ubuntu-11.04
I have installed PHP with mysqli support and I’m now looking forward to enable curl. I have build and installed curl (curl-7.26.0) and the PHP version I am using is 5.2.9This is how I installed
alvaro
duttasankha
compilation cuda installation ubuntu-11.04
I am using ubuntu 11.04 and cuda 4.2. I installed the Toolkit and the SDK. I used https://help.ubuntu.com/community/Cuda website for installation. After that, I am giving the make commands to the sample problems given in GPU SDK using the following commands cd ~/NVIDIA_GPU_Computing_SDK/C LINKFLAGS=-L/usr/lib/nvidia-current/ make cuda-install=/opt/cudaBut while doing that I am receiving tons of warnings and errors. From the type of error messages what it seems that the error message starts occuring after the particle example starts compiling. I will paste the error messages below :make[2]: Entering directory `/home/duttasankha/NVIDIA_GPU_Computing_SDK/C/src/particles’ /usr/bin/ld: error: cannot open //usr/lib/libGL.so: No such file or directory /usr/bin/ld: obj/x86_64/release/particles.cpp.o: in function reshape(int, int):particles.cpp(.text+0x160): error: undefined reference to ‘glMatrixMode’ /usr/bin/ld: obj/x86_64/release/particles.cpp.o: in function reshape(int, int):particles.cpp(.text+0x165): error: undefined reference to ‘glLoadIdentity’ /usr/bin/ld: obj/x86_64/release/particles.cpp.o: in function reshape(int, int):particles.cpp(.text+0x19e): error: undefined reference to ‘glMatrixMode’ /usr/bin/ld: obj/x86_64/release/particles.cpp.o: in function reshape(int, int):particles.cpp(.text+0x1ab): error: undefined reference to ‘glViewport’ /usr/bin/ld: obj/x86_64/release/particles.cpp.o: in function initGL(int*, char**):particles.cpp(.text+0x399): error: undefined reference to ‘glEnable’ /usr/bin/ld: obj/x86_64/release/particles.cpp.o: in function initGL(int*, char**):particles.cpp(.text+0x3b4): error: undefined reference to ‘glClearColor’ /usr/bin/ld: obj/x86_64/release/particles.cpp.o: in function display():particles.cpp(.text+0x8a5): error: undefined reference to ‘glClear’ /usr/bin/ld: obj/x86_64/release/particles.cpp.o: in function display():particles.cpp(.text+0x8af): error: undefined reference to ‘glMatrixMode’ /usr/bin/ld: obj/x86_64/release/particles.cpp.o: in function display():particles.cpp(.text+0x8b4): error: undefined reference to ‘glLoadIdentity’ /usr/bin/ld: obj/x86_64/release/particles.cpp.o: in function display():particles.cpp(.text+0x92f): error: undefined reference to ‘glTranslatef’ /usr/bin/ld: obj/x86_64/release/particles.cpp.o: in function display():particles.cpp(.text+0x948): error: undefined reference to ‘glRotatef’ /usr/bin/ld: obj/x86_64/release/particles.cpp.o: in function display():particles.cpp(.text+0x961): error: undefined reference to ‘glRotatef’ /usr/bin/ld: obj/x86_64/release/particles.cpp.o: in function display():particles.cpp(.text+0x972): error: undefined reference to ‘glGetFloatv’ /usr/bin/ld: obj/x86_64/release/particles.cpp.o: in function display():particles.cpp(.text+0x985): error: undefined reference to ‘glColor3f’ /usr/bin/ld: obj/x86_64/release/particles.cpp.o: in function display():particles.cpp(.text+0x997): error: undefined reference to ‘glPushMatrix’ /usr/bin/ld: obj/x86_64/release/particles.cpp.o: in function display():particles.cpp(.text+0x9b8): error: undefined reference to ‘glTranslatef’ /usr/bin/ld: obj/x8 6_64/release/particles.cpp.o: in function display():particles.cpp(.text+0x9cb): error: undefined reference to ‘glColor3f’ /usr/bin/ld: obj/x86_64/release/particles.cpp.o: in function display():particles.cpp(.text+0x9ee): error: undefined reference to ‘glPopMatrix’ /usr/bin/ld: obj/x86_64/release/particles.cpp.o: in function display():particles.cpp(.text+0xb06): error: undefined reference to ‘glDisable’ /usr/bin/ld: obj/x86_64/release/particles.cpp.o: in function display():particles.cpp(.text+0xb12): error: undefined reference to ‘glBlendFunc’ /usr/bin/ld: obj/x86_64/release/particles.cpp.o: in function display():particles.cpp(.text+0xb1c): error: undefined reference to ‘glEnable’ /usr/bin/ld: obj/x86_64/release/particles.cpp.o: in function display():particles.cpp(.text+0xb3b): error: undefined reference to ‘glDisable’ /usr/bin/ld: obj/x86_64/release/particles.cpp.o: in function display():particles.cpp(.text+0xb45): error: undefined reference to ‘glEnable’ /usr/bin/ld: obj/x86_64/release/render_particles.cpp.o: in function ParticleRenderer::_ drawPoints():render_particles.cpp(.text+0x41): error: undefined reference to ‘glBegin’ /usr/bin/ld: obj/x86_64/release/render_particles.cpp.o: in function ParticleRenderer::_drawPoints():render_particles.cpp(.text+0x66): error: undefined reference to ‘glVertex3fv’ /usr/bin/ld: obj/x86_64/release/render_particles.cpp.o: in function ParticleRenderer::_drawPoints():render_particles.cpp(.text+0x9e): error: undefined reference to ‘glVertexPointer’ /usr/bin/ld: obj/x86_64/release/render_particles.cpp.o: in function ParticleRenderer::_drawPoints():render_particles.cpp(.text+0xa8): error: undefined reference to ‘glEnableClientState’ /usr/bin/ld: obj/x86_64/release/render_particles.cpp.o: in function ParticleRenderer::_drawPoints():render_particles.cpp(.text+0xbb): error: undefined reference to ‘glDrawArrays’ /usr/bin/ld: obj/x86_64/release/render_particles.cpp.o: in function ParticleRenderer::_drawPoints():render_particles.cpp(.text+0xcf): error: undefined reference to ‘glDisableClientState’ /usr/bin/ld: obj/x86_64/release/render_particles.cpp.o: in function ParticleRenderer::_drawPoints():render_particles.cpp(.text+0xff): error: undefined reference to ‘glColorPointer’ /usr/bin/ld: obj/x86_64/release/render_particles.cpp.o: in function ParticleRenderer::_drawPoints():render_particles.cpp(.text+0x109): error: undefined reference to ‘glEnableClientState’ /usr/bin/ld: obj/x86_64/release/render_particles.cpp.o: in fun
gouravtiwari21
ruby-on-rails ruby ubuntu-11.04
gourav@ubuntu$ bundle install/home/gourav/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/i686-linux/digest/sha1.so:undefined symbol: rb_Digest_SHA1_Init – /home/gourav/.rvm/rubies/
OtagoHarbour
c++ templates ubuntu-11.04 netbeans-7.1
I am developing C++ on Netbeans 7.1 on Ubuntu 11.04. I was wondering if someone could tell me why Stack fs(5); is seen as an undefined reference to to `Stack::Stack(int)’. Why
Terry Li
c++ boost compiler-errors shared-memory ubuntu-11.04
I tried to compile the following code on ubuntu 11.04:#include #include int main() { boost::interprocess::shared_memory_object shdmem(boost::interprocess::open_or_create, “Highscore”, boost::interprocess::read_write); shdmem.truncate(1024); std::cout
Originally posted 2013-11-09 23:29:23.