Page 1 of 1

Installed PB under Ubuntu 11.10 but...

Posted: Wed Jan 04, 2012 12:38 pm
by srod
Hi,

have installed PB and have many of the example programs running. However a few are not; e.g. the sprite.pb demo.

I have run the checkinstall.sh script and it reports that libstdc++ is not found. However, I previously installed libstdc++6 and have double checked and it is installed fine (according to the synaptic package manager).

What am I missing?

Thanks.

Re: Installed PB under Ubuntu 11.10 but...

Posted: Wed Jan 04, 2012 12:41 pm
by IdeasVacuum
What am I missing?
Windows! :mrgreen:

Re: Installed PB under Ubuntu 11.10 but...

Posted: Wed Jan 04, 2012 12:43 pm
by srod
IdeasVacuum wrote:
What am I missing?
Windows! :mrgreen:
:lol:

Re: Installed PB under Ubuntu 11.10 but...

Posted: Wed Jan 04, 2012 12:53 pm
by Shardik
Stephen,

take a look into this thread:
http://www.purebasic.fr/english/viewtop ... 23&t=48112

However presumably this fix is only necessary so that the checkinstall.sh
script doesn't report anymore that libstdc++ is not found... :wink:

Re: Installed PB under Ubuntu 11.10 but...

Posted: Wed Jan 04, 2012 1:27 pm
by srod
Fixed that thanks. Get the same message with lbgnome-2.0.pc now though! :)

Going back to sprite.pb, it is a linker error : /usr/bin/ld: cannot find -lXxf86vmcollect2L ld returned 1 exit status

Re: Installed PB under Ubuntu 11.10 but...

Posted: Wed Jan 04, 2012 1:54 pm
by ts-soft
You should install: libXxf86vm

Re: Installed PB under Ubuntu 11.10 but...

Posted: Wed Jan 04, 2012 1:59 pm
by Shardik
Solution:

Code: Select all

sudo apt-get install libxxf86vm-dev
http://www.purebasic.fr/english/viewtop ... 23&t=48743

Re: Installed PB under Ubuntu 11.10 but...

Posted: Wed Jan 04, 2012 2:05 pm
by srod
Guess I should read the forums a bit more carefully! :)

Re: Installed PB under Ubuntu 11.10 but...

Posted: Wed Jan 04, 2012 2:23 pm
by Shardik
srod wrote:Get the same message with lbgnome-2.0.pc now though! :)
Are you sure that you installed the developer version libgnome2-dev?

I always use this one line script saved as InstallNeededLibs to install all
needed dependencies in Ubuntu distributions:

Code: Select all

sudo apt-get install build-essential libgtk2.0-dev libgnome2-dev libgnomeprintui2.2-dev libxine-dev libsdl1.2-dev libiodbc2-dev
I start this script from within its folder with
./InstallNeededLibs
and I'm done... :wink:

Re: Installed PB under Ubuntu 11.10 but...

Posted: Sat Apr 28, 2012 5:37 pm
by Conch
viewtopic.php?f=15&t=48399

Paste this into a text document..
sudo apt-get install gcc -y
sudo apt-get install libgtk2.0-dev -y
sudo apt-get install libsdl1.2-dev -y
sudo apt-get install libstdc++6 -y
sudo apt-get install libiodbc2 -y
sudo apt-get install libiodbc2-dev -y
sudo apt-get install libxine1 -y
sudo apt-get install libxine-dev -y
sudo apt-get install libgnomeprintui2.2-0 -y
sudo apt-get install libgnomeprintui2.2-dev -y
sudo apt-get install gtk2-engines-pixbuf -y
sudo apt-get install libXxf86vm-dev -y
Chmod it and give it execution.
sudo chmod +x pb-dependencies.sh
Double click and run it in the terminal.

Run check-install.sh
Make sure everything is correct.
Run Purebasic :)

EDIT: Forgot to add - You will also need to Symlink the libstdc++.so.6 again.
sudo ln -s /usr/lib/i386-linux-gnu/libstdc++.so.6.0.14 /usr/lib/libstdc++.so.6