Linux build errors

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:

Linux build errors

Post by wjstarck » Fri Nov 02, 2007 1:31 pm

Just an FYI that OD latest won't build with mono 1.2.5.1. Or am I missing something?

$ make
nant
NAnt 0.86 (Build 0.86.2857.0; dev; 10/28/2007)
Copyright (C) 2001-2007 Gerry Shaw
http://nant.sourceforge.net

Buildfile: file:///home/wjs/opendental/opendental.build
Target framework: Mono 2.0 Profile
Target(s) specified: build
[tstamp] Friday, November 02, 2007 3:25:38 PM.

init:
debug:
set-framework-configuration:
set-mono-2.0-framework-configuration:
build:
[echo] Build Directory is /home/wjs/opendental/build/mono-2.0.unix/opendental-5.4-debug
[nant] /home/wjs/opendental/CodeBase/CodeBase.build build
Buildfile: file:///home/wjs/opendental/CodeBase/CodeBase.build
Target framework: Mono 2.0 Profile
Target(s) specified: build
build:
[csc] Compiling 10 files to '/home/wjs/opendental/build/mono-2.0.unix/opendental-5.4-debug/bin/CodeBase.dll'.
[resgen] Read in 1 resources from '/home/wjs/opendental/CodeBase/Utilities/MsgBoxCopyPaste.resx'
[resgen] Writing resource file... Done.
[csc] /home/wjs/opendental/CodeBase/Controls/OpenGLWinFormsControl.cs(316,38): warning CS0219: The variable `bitmap' is assigned but its value is never used
[csc] Compilation succeeded - 1 warning(s)

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

Total time: 1.4 seconds.

[nant] /home/wjs/opendental/OpenDentBusiness/OpenDentBusiness.build build
Buildfile: file:///home/wjs/opendental/OpenDentBusiness/OpenDentBusiness.build
Target framework: Mono 2.0 Profile
Target(s) specified: build


build:

[csc] Compiling 202 files to '/home/wjs/opendental/build/mono-2.0.unix/opendental-5.4-debug/bin/OpenDentBusiness.dll'.
[resgen] Read in 11 resources from '/home/wjs/opendental/OpenDentBusiness/Properties/Resources.resx'
[resgen] Writing resource file... Done.
[csc] /home/wjs/opendental/OpenDentBusiness/Imaging/FileStoreSettings.cs(11,1): warning CS1030: #warning: `Hard-coded path'
[csc] /home/wjs/opendental/OpenDentBusiness/DataAccess/DataSettings.cs(9,7): error CS0246: The type or namespace name `Oracle' could not be found. Are you missing a using directive or an assembly reference?
[csc] /home/wjs/opendental/OpenDentBusiness/DataAccess/DataSettings.cs(9,1): error CS0246: The type or namespace name `DataAccess.Client' could not be found. Are you missing a using directive or an assembly reference?
[csc] /home/wjs/opendental/OpenDentBusiness/DataConnection.cs(14,19): error CS0234: The type or namespace name `OracleClient' does not exist in the namespace `System.Data'. Are you missing an assembly reference?
[csc] /home/wjs/opendental/OpenDentBusiness/DataConnection.cs(14,1): error CS0246: The type or namespace name `Data.OracleClient' could not be found. Are you missing a using directive or an assembly reference?
[csc] /home/wjs/opendental/OpenDentBusiness/DataConnection.cs(33,25): error CS0246: The type or namespace name `OracleDataAdapter' could not be found. Are you missing a using directive or an assembly reference?
[csc] /home/wjs/opendental/OpenDentBusiness/DataConnection.cs(37,25): error CS0246: The type or namespace name `OracleConnection' could not be found. Are you missing a using directive or an assembly reference?
[csc] /home/wjs/opendental/OpenDentBusiness/DataConnection.cs(41,25): error CS0246: The type or namespace name `OracleDataReader' could not be found. Are you missing a using directive or an assembly reference?
[csc] /home/wjs/opendental/OpenDentBusiness/DataConnection.cs(45,24): error CS0246: The type or namespace name `OracleCommand' could not be found. Are you missing a using directive or an assembly reference?
[csc] /home/wjs/opendental/OpenDentBusiness/DataAccess/DataSettings.cs(9,7): error CS0246: The type or namespace name `Oracle' could not be found. Are you missing a using directive or an assembly reference?
[csc] /home/wjs/opendental/OpenDentBusiness/DataAccess/DataSettings.cs(9,1): error CS0246: The type or namespace name `DataAccess.Client' could not be found. Are you missing a using directive or an assembly reference?
[csc] /home/wjs/opendental/OpenDentBusiness/DataConnection.cs(14,19): error CS0234: The type or namespace name `OracleClient' does not exist in the namespace `System.Data'. Are you missing an assembly reference?
[csc] /home/wjs/opendental/OpenDentBusiness/DataConnection.cs(14,1): error CS0246: The type or namespace name `Data.OracleClient' could not be found. Are you missing a using directive or an assembly reference?
[csc] Compilation failed: 12 error(s), 1 warnings

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

/home/wjs/opendental/OpenDentBusiness/OpenDentBusiness.build(32,11):
External Program Failed: /usr/local/lib/pkgconfig/../../lib/mono/2.0/gmcs.exe (return code was 1)

Total time: 1.7 seconds.


BUILD FAILED

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

Total time: 3.4 seconds.

make: *** [all] Error 1
Cheers,

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

ugach
Posts: 34
Joined: Mon Oct 29, 2007 5:32 pm
Location: Walnut Creek CA

I have the exact same error

Post by ugach » Tue Nov 13, 2007 11:33 pm

I have same error

Code: Select all

U   opendental
Checked out revision 1050.
ugach@ops1:~$ cd opendental
ugach@ops1:~/opendental$ 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/ugach/opendental/opendental.build
Target framework: Mono 2.0 Profile
Target(s) specified: build 

   [tstamp] Tuesday, November 13, 2007 11:53:02 PM.

init:


debug:


set-framework-configuration:


set-mono-2.0-framework-configuration:


build:

     [echo] Build Directory is /home/ugach/opendental/build/mono-2.0.unix/opendental-5.4-debug
    [mkdir] Creating directory '/home/ugach/opendental/build/mono-2.0.unix/opendental-5.4-debug/bin'.
    [mkdir] Creating directory '/home/ugach/opendental/build/mono-2.0.unix/opendental-5.4-debug/bin/lib'.
     [nant] /home/ugach/opendental/CodeBase/CodeBase.build build
            Buildfile: file:///home/ugach/opendental/CodeBase/CodeBase.build
            Target framework: Mono 2.0 Profile
            Target(s) specified: build 
            
            
            build:
            
                  [csc] Compiling 10 files to '/home/ugach/opendental/build/mono-2.0.unix/opendental-5.4-debug/bin/CodeBase.dll'.
                           [resgen] Read in 1 resources from '/home/ugach/opendental/CodeBase/Utilities/MsgBoxCopyPaste.resx'
                           [resgen] Writing resource file...  Done.
                  [csc] /home/ugach/opendental/CodeBase/Controls/OpenGLWinFormsControl.cs(316,38): warning CS0219: The variable `bitmap' is assigned but its value is never used
                  [csc] Compilation succeeded - 1 warning(s)
                 [copy] Copying 1 file to '/home/ugach/opendental/build/mono-2.0.unix/opendental-5.4-debug/bin'.
            
            BUILD SUCCEEDED - 0 non-fatal error(s), 1 warning(s)
            
            Total time: 1.8 seconds.
            
     [nant] /home/ugach/opendental/OpenDentBusiness/OpenDentBusiness.build build
            Buildfile: file:///home/ugach/opendental/OpenDentBusiness/OpenDentBusiness.build
            Target framework: Mono 2.0 Profile
            Target(s) specified: build 
            
            
            build:
            
                  [csc] Compiling 199 files to '/home/ugach/opendental/build/mono-2.0.unix/opendental-5.4-debug/bin/OpenDentBusiness.dll'.
                           [resgen] Read in 11 resources from '/home/ugach/opendental/OpenDentBusiness/Properties/Resources.resx'
                           [resgen] Writing resource file...  Done.
                  [csc] /home/ugach/opendental/OpenDentBusiness/Imaging/FileStoreSettings.cs(11,1): warning CS1030: #warning: `Hard-coded path'
                  [csc] /home/ugach/opendental/OpenDentBusiness/DataAccess/DataSettings.cs(9,7): error CS0246: The type or namespace name `Oracle' could not be found. Are you missing a using directive or an assembly reference?
                  [csc] /home/ugach/opendental/OpenDentBusiness/DataAccess/DataSettings.cs(9,1): error CS0246: The type or namespace name `DataAccess.Client' could not be found. Are you missing a using directive or an assembly reference?
                  [csc] /home/ugach/opendental/OpenDentBusiness/DataAccess/DataSettings.cs(9,7): error CS0246: The type or namespace name `Oracle' could not be found. Are you missing a using directive or an assembly reference?
                  [csc] /home/ugach/opendental/OpenDentBusiness/DataAccess/DataSettings.cs(9,1): error CS0246: The type or namespace name `DataAccess.Client' could not be found. Are you missing a using directive or an assembly reference?
                  [csc] Compilation failed: 4 error(s), 1 warnings
            
            BUILD FAILED - 0 non-fatal error(s), 5 warning(s)
            
            /home/ugach/opendental/OpenDentBusiness/OpenDentBusiness.build(32,11):
            External Program Failed: /usr/lib/mono/2.0/gmcs.exe (return code was 1)
            
            Total time: 1.4 seconds.
            

BUILD FAILED

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

Total time: 3.3 seconds.

make: *** [all] Error 1
[/code]

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

Post by fcarlier » Wed Nov 14, 2007 11:11 am

It will take a couple of days for the Linux build system to be back up again; meanwhile you should be able to compile using MonoDevelop.
Frederik Carlier

Post Reply