Latest trunk plugins build error on ubuntu

11 views
Skip to first unread message

roger.moffatt

unread,
Dec 10, 2010, 8:23:10 PM12/10/10
to iFolder-Ubuntu-Debian-Android-dev
I'm a bit new to all this, but have been struggling to get simias to
build from source. I get stuck on the plugins which fail as shown
below. Any ideas how to fix it?

Roger

Making all in ./src
make[1]: Entering directory `/root/simias-build/simias/plugins/src'
Making all in LdapGroup
make[2]: Entering directory `/root/simias-build/simias/plugins/src/
LdapGroup'
Making all in Simias.IdentitySync
make[3]: Entering directory `/root/simias-build/simias/plugins/src/
LdapGroup/Simias.IdentitySync'
make[4]: Entering directory `/root/simias-build/simias/plugins/src/
LdapGroup/Simias.IdentitySync'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/root/simias-build/simias/plugins/src/
LdapGroup/Simias.IdentitySync'
sed -e 's,@_VERSION_@,1.0.5.0,g' AssemblyInfo.cs.in > AssemblyInfo.cs
chmod +x AssemblyInfo.cs
gmcs -d:MONO -d:MONONATIVE /out:IdentityManagement.dll /d:LINUX /
target:library /r:System.dll /r:System.Data.dll /r:System.Web.dll /
r:System.Web.Ser vices.dll /r:SimiasLib.dll /
r:Novell.Directory.Ldap.dll /r:SimiasClient.dll /lib:/usr/lib/simias/
web/bin ./AssemblyInfo.cs ./Service.cs ./
Domain.cs ./ Authentication.cs ./Exceptions.cs ./
ProvisionInfo.cs ./HostLocationService.cs ./HostProvider.cs ./
IdentitySyncService.cs ./IIdentitySyncProvider.cs ./
IdentitySyncManager.asmx.cs ./IProvisionUser.cs ./
Registration.asmx.cs ./IUserProvider.cs ./User.cs
./Service.cs(95,64): warning CS0612:
`System.Reflection.Assembly.LoadWithPartialName(string)' is obsolete
./Authentication.cs(457,41): warning CS0168: The variable `ex' is
declared but never used
./Authentication.cs(652,127): error CS0117:
`Simias.Sync.CollectionSyncClient' does not contain a definition for
`ServerSyncStatus'
/usr/lib/simias/web/bin/SimiasLib.dll (Location of the symbol related
to previous error)
Compilation failed: 1 error(s), 2 warnings
make[3]: *** [IdentityManagement.dll] Error 1
make[3]: Leaving directory `/root/simias-build/simias/plugins/src/
LdapGroup/Simias.IdentitySync'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/simias-build/simias/plugins/src/
LdapGroup'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/simias-build/simias/plugins/src'
make: *** [all-recursive] Error 1

roger.moffatt

unread,
Dec 10, 2010, 8:42:45 PM12/10/10
to iFolder-Ubuntu-Debian-Android-dev
As a follow up, I haven't got my head around any of this yet, but
revision 7476 looks suspicious to me. Could be barking up the wrong
tree though ...

svn diff -r7476:7475 ./plugins/src/LdapGroup/Simias.IdentitySync/
Authentication.cs

Roger

ikus060

unread,
Dec 11, 2010, 4:25:38 PM12/11/10
to iFolder-Ubuntu-Debian-Android-dev

At first look,
it's seams you're trying to compile against the wrong version of
simias.

Might it be possible you're current simias installation is not the
trunk but an older version ?

ikus060

Roger Moffatt

unread,
Dec 11, 2010, 7:06:32 PM12/11/10
to ifolder-ubun...@googlegroups.com
At the time all I had done was checkout the trunk and try to build it :( I "solved it" by forgetting SVN and downloading the following instead...


Building that worked OK. I'll return to the trunk issue later on a fresh box - what I'm trying to do is get an accurate set of build scripts for Ubuntu Lucid that build the whole project from source on a fresh EC2 image - it's been a nightmare so far to be honest but I nearly have everything working and will repeat the process again on a fresh instance later in the week.

I have some more pressing questions now ... but that's a new thread!

Roger

csights

unread,
Dec 11, 2010, 10:41:35 PM12/11/10
to iFolder-Ubuntu-Debian-Android-dev
Hey Roger,
Not sure if you are aware of that there is an Ubuntu package which
builds the binaries from sources available for simias and ifolder-
GUI. They download the 3.8.0.3 sources currently and should help you
in building from source quite a bit!

The instructions are here:
https://help.ubuntu.com/community/iFolderInstall

There is no package for the plugins. Those you would still have to
build by hand.

C.
Reply all
Reply to author
Forward
0 new messages