[Mono-list] Seeking help with RPM creation for RHEL5

Jon James jon_james at dell.com
Tue Jul 21 09:56:26 EDT 2009


Awesome. Thanks for the reply. That seemed to get me RMPs finally! 

Something i noted during RPM creation..

/usr/src/redhat/BUILD/mono-2.4.2.2/libtool: line 6823: LC_ALL: command not
found
/usr/src/redhat/BUILD/mono-2.4.2.2/libtool: line 6823: LC_CTYPE: command not
found
/usr/src/redhat/BUILD/mono-2.4.2.2/libtool: line 6823: LC_COLLATE: command
not found
/usr/src/redhat/BUILD/mono-2.4.2.2/libtool: line 6823: LC_MESSAGES: command
not found

Is this an issue? RPMs were built but noticed this during compiling.

Jon



Petit Eric wrote:
> 
> You need either a valid install of mono, or if not, use in the spec a
> "make get-monolite-latest" who will download bootstrap at the good
> place
> 
> 2009/7/20 Jon James <jon_james at dell.com>:
>>
>> Howdy folks,
>>
>> I'm looking for some help around building RPMs for RHEL5.  I have been
>> able
>> to download the source tarball for libgdiplus 2.4.2 and leverage the spec
>> file for the fedora build.
>>
>> However, mono 2.4.2.2 has been quite the beast regarding building a RHEL5
>> rpm package.  I am using the latest fedora mono.spec file located here:
>> http://cvs.fedora.redhat.com/viewvc/devel/mono/mono.spec?revision=1.137
>>
>> I have downloaded all the patch files from the fedora site and have them
>> and
>> the source bz2 file in my build structure.  I also have all the
>> buildrequires packages installed.
>>
>> When i initiate the command: rpmbuild -ba mono.spec The building will
>> begin,
>> going through the various parts of the spec file but then towards the
>> compiling of mono 2.4.2.2 it will throw exception and exit.
>>
>> Last bit of exit detail:
>> make[4]: Entering directory `/usr/src/redhat/BUILD/mono-2.4.2.2/mcs'
>> make PROFILE=basic all
>> make[5]: Entering directory `/usr/src/redhat/BUILD/mono-2.4.2.2/mcs'
>> make[6]: mcs: Command not found
>> make[6]: *** [build/deps/basic-profile-check.exe] Error 127
>> *** The compiler 'mcs' doesn't appear to be usable.
>> *** You need a C# compiler installed to build MCS (make sure mcs works
>> from
>> the command line)
>> *** Read INSTALL.txt for information on how to bootstrap a Mono
>> installation.
>> make[5]: *** [do-profile-check] Error 1
>>
>> In the spec file i'm using, it notes about a mono-basic buildrequires for
>> bootstrapping but i have that commented out.
>>
>> I'm a bit new to this area of linux (building, compiling and packaging)
>> and
>> would appreciate some help.  I have been able to compile source for both
>> libgdiplus and mono 2.4.2.2 without issue.
>>
>> Any direction? I'm a bit lost at the moment on what to try next.
>>
>> JJ
>> --
>> View this message in context:
>> http://www.nabble.com/Seeking-help-with-RPM-creation-for-RHEL5-tp24578278p24578278.html
>> Sent from the Mono - General mailing list archive at Nabble.com.
>>
>> _______________________________________________
>> Mono-list maillist  -  Mono-list at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-list
>>
> 
> 
> 
> -- 
> Cordially.
> 
> Small Eric Quotations of the days:
> ---------------------------------------------------------------------------
> If one day one reproaches you that your work is not a work of
> professional, say you that:
> Amateurs built the arch of Noah, and professionals the Titanic.
> ---------------------------------------------------------------------------
> 
> When society feel down, to be quiet we say, at this time every things
> are okay's, because the most important is the landing.
> ---------------------------------------------------------------------------
> 
> No key was wounded during the drafting of this message.
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
> 
> 

-- 
View this message in context: http://www.nabble.com/Seeking-help-with-RPM-creation-for-RHEL5-tp24578278p24588174.html
Sent from the Mono - General mailing list archive at Nabble.com.



More information about the Mono-list mailing list