Building OD 5.0 for Linux

For complex topics that regular users would not be interested in. For power users and database administrators.
Post Reply
User avatar
wjstarck
Posts: 936
Joined: Tue Jul 31, 2007 7:18 am
Location: Keller, TX
Contact:

Building OD 5.0 for Linux

Post by wjstarck » Wed Aug 15, 2007 9:01 am

Hello-

I'm trying to build OD 5 on Fedora 7. I have mono 1.2.4 and NAnt 0.85 installed and it won't compile.

Any suggestions? Here is the output:

[root@mail OD5.0]# make
nant
NAnt 0.85 (Build 0.85.2478.0; release; 10/14/2006)
Copyright (C) 2001-2006 Gerry Shaw
http://nant.sourceforge.net

Buildfile: file:///home/admin/Desktop/OD5.0/opendental.build
Target framework: Mono 2.0 Profile
Target(s) specified: build

[tstamp] Wednesday, August 15, 2007 10:49:51 AM.

init:
debug:
set-framework-configuration:
set-mono-2.0-framework-configuration:
build:
[echo] Build Directory is /home/admin/Desktop/OD5.0/build/mono-2.0.unix/opendental-4.8-debug
[nant] /home/admin/Desktop/OD5.0/CodeBase/CodeBase.build build
Buildfile: file:///home/admin/Desktop/OD5.0/CodeBase/CodeBase.build
Target framework: Mono 2.0 Profile
Target(s) specified: build

build:

[csc] Compiling 10 files to '/home/admin/Desktop/OD5.0/build/mono-2.0.unix/opendental-4.8-debug/bin/CodeBase.dll'.
[resgen] Read in 1 resources from '/home/admin/Desktop/OD5.0/CodeBase/Utilities/MsgBoxCopyPaste.resx'
[resgen] Writing resource file... Done.
[csc] /home/admin/Desktop/OD5.0/CodeBase/Utilities/TopazWrapper.cs(10,24): error CS0246: The type or namespace name `Topaz' could not be found. Are you missing a using directive or an assembly reference?
[csc] Compilation failed: 1 error(s), 0 warnings

BUILD FAILED - 0 non-fatal error(s), 1 warning(s)

/home/admin/Desktop/OD5.0/CodeBase/CodeBase.build(32,11):
External Program Failed: /usr/lib/pkgconfig/../../lib/mono/2.0/gmcs.exe (return code was 1)

Total time: 2.5 seconds.


BUILD FAILED

Nested build failed. Refer to build log for exact reason.

Total time: 2.7 seconds.

make: *** [all] Error 1



Cheers,

Bill Starck, DDS

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

mono

Post by Justin Shafer » Fri Aug 17, 2007 7:46 am

We gotta wait for mono to implement system.development first.... thats the main error I have been getting out of mono develop and trying to compile a binary.

Running a precompiled vs2005 binary gives me this... I am sure its just a mono issue otherwise OD wouldnt work at all. Mono is playing catch up for us again....

Unhandled Exception: System.ArgumentException: SelectionStart cannot be less than MinDate
at System.Windows.Forms.MonthCalendar.set_SelectionRange (System.Windows.Forms.SelectionRange value) [0x00000]
at System.Windows.Forms.MonthCalendar.SetSelectionRange (DateTime date1, DateTime date2) [0x00000]
at System.Windows.Forms.MonthCalendar.SetDate (DateTime date) [0x00000]
at (wrapper remoting-invoke-with-check) System.Windows.Forms.MonthCalendar:SetDate (System.DateTime)
at OpenDental.ContrAppt.RefreshPeriod () [0x00000]
at OpenDental.ContrAppt.ModuleSelected (Int32 patNum) [0x00000]
at OpenDental.ContrAppt.comboView_SelectedIndexChanged (System.Object sender, System.EventArgs e) [0x00000]
at (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_object_EventArgs (object,System.EventArgs)
at System.Windows.Forms.ComboBox.OnSelectedIndexChanged (System.EventArgs e) [0x00000]
at System.Windows.Forms.ComboBox.set_SelectedIndex (Int32 value) [0x00000]
at OpenDental.ContrAppt.FillViews () [0x00000]
at (wrapper remoting-invoke-with-check) OpenDental.ContrAppt:FillViews ()
at OpenDental.FormOpenDental.RefreshLocalData (InvalidTypes itypes, Boolean isStartingUp) [0x00000]
at OpenDental.FormOpenDental.FormOpenDental_Load (System.Object sender, System.EventArgs e) [0x00000]
at (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_object_EventArgs (object,System.EventArgs)
at System.Windows.Forms.Form.OnLoad (System.EventArgs e) [0x00000]
at System.Windows.Forms.Form.OnCreateControl () [0x00000]
at System.Windows.Forms.Control.CreateControl () [0x00000]
at System.Windows.Forms.Control.SetVisibleCore (Boolean value) [0x00000]
at System.Windows.Forms.Form.SetVisibleCore (Boolean value) [0x00000]
at System.Windows.Forms.Control.set_Visible (Boolean value) [0x00000]
at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control:set_Visible (bool)
at System.Windows.Forms.Application.RunLoop (Boolean Modal, System.Windows.Forms.ApplicationContext context) [0x00000]
at System.Windows.Forms.Application.Run (System.Windows.Forms.Form mainForm) [0x00000]
at OpenDental.FormOpenDental.Main () [0x00000]
justin@justin-desktop :~/Desktop/OpenDental5$

User avatar
jordansparks
Site Admin
Posts: 5742
Joined: Sun Jun 17, 2007 3:59 pm
Location: Salem, Oregon
Contact:

Post by jordansparks » Fri Aug 17, 2007 9:54 am

I will have a Linux workstation in production environment soon. So we'll be able to quickly catch any issues like this in the future.
Jordan Sparks, DMD
http://www.opendental.com

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

Post by Justin Shafer » Fri Aug 17, 2007 9:55 am

AWESOME!!!!! That is very cool.

murmsk
Posts: 177
Joined: Mon Jun 18, 2007 11:14 am
Location: Monmouth IL

Post by murmsk » Mon Aug 20, 2007 1:43 pm

when I try and install the modified mono into ubuntu 6.10 I get dependency errors for libmono-system 2.0-cil and libmono2.0-cil

It seems 1.0 is installed not 2.0 and when I try and install them I get a whole boatload more dependencies problems

any ideas

thanks steve
steve

fcarlier
Posts: 75
Joined: Tue Jun 19, 2007 3:12 am
Location: Ghent, Belgium

Post by fcarlier » Tue Aug 21, 2007 2:58 am

The build file CodeBase/CodeBase.build is broken. Use this one:
https://70.90.133.65:23793/svn/opendent ... Base.build . (Just overwrite it).

You'll see that in the <references> section, a line <include name="../Required dlls/SigPlusNET.dll"/> has been added. A reference to SigPlusNET.dll (which contains the Topaz logic) has been added, solving your issue.

Frederik.
Frederik Carlier

Post Reply