Installed PB under Ubuntu 11.10 but...

Linux specific forum
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Installed PB under Ubuntu 11.10 but...

Post 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.
I may look like a mule, but I'm not a complete ass.
IdeasVacuum
Always Here
Always Here
Posts: 6426
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: Installed PB under Ubuntu 11.10 but...

Post by IdeasVacuum »

What am I missing?
Windows! :mrgreen:
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Re: Installed PB under Ubuntu 11.10 but...

Post by srod »

IdeasVacuum wrote:
What am I missing?
Windows! :mrgreen:
:lol:
I may look like a mule, but I'm not a complete ass.
User avatar
Shardik
Addict
Addict
Posts: 2067
Joined: Thu Apr 21, 2005 2:38 pm
Location: Germany

Re: Installed PB under Ubuntu 11.10 but...

Post 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:
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Re: Installed PB under Ubuntu 11.10 but...

Post 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
I may look like a mule, but I'm not a complete ass.
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Re: Installed PB under Ubuntu 11.10 but...

Post by ts-soft »

You should install: libXxf86vm
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image
User avatar
Shardik
Addict
Addict
Posts: 2067
Joined: Thu Apr 21, 2005 2:38 pm
Location: Germany

Re: Installed PB under Ubuntu 11.10 but...

Post by Shardik »

Solution:

Code: Select all

sudo apt-get install libxxf86vm-dev
http://www.purebasic.fr/english/viewtop ... 23&t=48743
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Re: Installed PB under Ubuntu 11.10 but...

Post by srod »

Guess I should read the forums a bit more carefully! :)
I may look like a mule, but I'm not a complete ass.
User avatar
Shardik
Addict
Addict
Posts: 2067
Joined: Thu Apr 21, 2005 2:38 pm
Location: Germany

Re: Installed PB under Ubuntu 11.10 but...

Post 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:
User avatar
Conch
New User
New User
Posts: 3
Joined: Sat Apr 28, 2012 5:17 pm
Location: Bit Shift Island.
Contact:

Re: Installed PB under Ubuntu 11.10 but...

Post 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
Post Reply