Open Dental & Linux (Ubuntu 7.10)

For complex topics that regular users would not be interested in. For power users and database administrators.
Post Reply
delhidentist
Posts: 21
Joined: Fri Aug 24, 2007 1:24 am
Location: Delhi, INDIA
Contact:

Open Dental & Linux (Ubuntu 7.10)

Post by delhidentist » Tue Mar 18, 2008 10:19 pm

I have a dual boot with ubuntu 7.10 and windows xp and am using open dental 5.6.7 (beta) (foreign) on windows xp standalone acer laptop.
I have additionally installed mono 1.9 on ubuntu 7.10 and copied all contents from C:/ Program Files/Opendental to a new folder 'opendental' on ubuntu desktop.
When i type $ mono opendental.exe I get the error message 'cannot open assembly opendental.exe'
Please advice on how to start open dental on ubuntu 7.10 (with mono 1.9)
with best wishes,
Arun (Delhi, India)

User avatar
wjstarck
Posts: 936
Joined: Tue Jul 31, 2007 7:18 am
Location: Keller, TX
Contact:

Re: Open Dental & Linux (Ubuntu 7.10)

Post by wjstarck » Wed Mar 19, 2008 6:15 am

Make sure you check permissions and case - I don't have Ubuntu installed anywhere at the moment, so I can't check, but I seem to remember that the executable is named OpenDental.exe (notice the case).

Try:

$sudo mono opendental.exe
$sudo mono Opendental.exe
$mono OpenDental.exe

and report back. Make sure you cd to the directory where OpenDental .exe is located first.
Cheers,

Bill Starck, DDS
Big Idea Software, LLC
Developer, EASy(Electronic Anesthesia System) for Open Dental
817-807-1709
TX, USA

delhidentist
Posts: 21
Joined: Fri Aug 24, 2007 1:24 am
Location: Delhi, INDIA
Contact:

Re: Open Dental & Linux (Ubuntu 7.10)

Post by delhidentist » Thu Mar 20, 2008 5:59 am

Thanks for the reply.
I was able to start OpenDental after changing to the directory and using mono OpenDental.exe and the choose database window opened up.
I was however, getting the error "unable to connect to any of the specified MySql hosts". I tried with different names in the computer name slot, including the IP address, localhost and the name I have given it under linux.
Also, I get the error libcups not found in the terminal, but the synaptic package manager shows libcupsimage2 and libcupsys2 to be installed.
Is there anything else that needs to be installed too?

User avatar
wjstarck
Posts: 936
Joined: Tue Jul 31, 2007 7:18 am
Location: Keller, TX
Contact:

Re: Open Dental & Linux (Ubuntu 7.10)

Post by wjstarck » Thu Mar 20, 2008 9:51 am

Do you have Samba installed and configured (you'll need to)? What platform is OD server running on - Windows or Linux?
Cheers,

Bill Starck, DDS
Big Idea Software, LLC
Developer, EASy(Electronic Anesthesia System) for Open Dental
817-807-1709
TX, USA

delhidentist
Posts: 21
Joined: Fri Aug 24, 2007 1:24 am
Location: Delhi, INDIA
Contact:

Re: Open Dental & Linux (Ubuntu 7.10)

Post by delhidentist » Thu Mar 20, 2008 9:26 pm

I am trying to run Open Dental on a standalone PC running Ubuntu 7.10 and Windows XP as a dual boot. I have been using it on Windows XP so far, but if I am able to use it on Linux, then I will remove windows XP completely.

I have not configured SAMBA... Let me try to figure that out. Any advice on Samba would be welcome :)

User avatar
wjstarck
Posts: 936
Joined: Tue Jul 31, 2007 7:18 am
Location: Keller, TX
Contact:

Re: Open Dental & Linux (Ubuntu 7.10)

Post by wjstarck » Fri Mar 21, 2008 11:03 am

Well, you won't need Samba unless your OD database is running on a Windows PC on the network, and you're trying to connect to it from your Ubuntu Linux client:

Code: Select all

Samba is software that can be run on a platform other than Microsoft Windows, for example, UNIX, Linux, IBM System 390, OpenVMS, and other operating systems. Samba uses the TCP/IP protocol that is installed on the host server. When correctly configured, it allows that host to interact with a Microsoft Windows client or server as if it is a Windows file and print server.
From what you've said so far, my guess is that you haven't set up MySQL server on your Ubuntu box - is that correct?
Cheers,

Bill Starck, DDS
Big Idea Software, LLC
Developer, EASy(Electronic Anesthesia System) for Open Dental
817-807-1709
TX, USA

User avatar
Justin Shafer
Posts: 596
Joined: Sat Jul 28, 2007 7:34 pm
Location: Fort Worth, TX.

Re: Open Dental & Linux (Ubuntu 7.10)

Post by Justin Shafer » Sat Apr 05, 2008 1:12 pm

This works for Open Dental 4.8... I will try 5.5\5.6 now. This will get mono correctly installed with a working gdiplus, etc.... I dont know if the last line that has the export command is still necessary but I wanted to put it out here anyways......

mono 1.9 ubuntu 7.10
apt-get install build-essential bison gawk
apt-get install libglib2.0-dev
apt-get install libpng12-dev libx11-dev libfontconfig1-dev
apt-get install libfreetype6-dev libjpeg62-dev libtiff4-dev
apt-get install libungif4-dev libexif-dev libcairo2-dev
apt-get install libpango1.0-dev libgtk2.0-dev libglade2-dev
apt-get install libgnome2-dev libgnomecanvas2-dev libgnomeui-dev
apt-get install libgnomeprint2.2-dev libgnomeprintui2.2-dev
apt-get install libpanel-applet2-dev libgtksourceview-dev
apt-get install libgtkhtml3.14-dev
wget http://go-mono.com/sources/libgdiplus/l ... .9.tar.bz2
tar xvf libgdiplus-1.9.tar.bz2
cd libgdiplus-1.9
./configure --prefix=/usr/local
make
make install
cd ..
wget http://go-mono.com/sources/mono/mono-1.9.tar.bz2
tar xvf mono-1.9.tar.bz2
cd mono-1.9
./configure --prefix=/usr/local
make
make install
cd ..
wget http://switch.dl.sourceforge.net/source ... src.tar.gz
tar xvf nant-0.86-beta1-src.tar.gz
cd nant-0.86-beta1
make install prefix=/usr/local
sudo sh -c "echo /usr/local/lib >> /etc/ld.so.conf"
sudo /sbin/ldconfig
export LC_ALL=en_us
mono OpenDental.exe should work!

If you need mysql... I installed mysql before installing mono just to be sure there wouldnt be any issues.
apt-get install mysql-server mysql-admin
Last edited by Justin Shafer on Sat Apr 05, 2008 3:00 pm, edited 1 time in total.

User avatar
Justin Shafer
Posts: 596
Joined: Sat Jul 28, 2007 7:34 pm
Location: Fort Worth, TX.

Re: Open Dental & Linux (Ubuntu 7.10)

Post by Justin Shafer » Sat Apr 05, 2008 2:56 pm

Successfully got Open Dental 5.6 to work. I actually loaded up vmware. Installed a fresh copy of XP. Installed Visual Studio 2008 Express C# (which is free!). Compiled Open Dental. Copied all the files from the debug folder and copied them to my ubuntu box. ran "Mono OpenDental.exe" and it converted my 4.8 database, and came right up.

Tadaow!

Post Reply