LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 10-09-2012, 09:13 AM   #16
escaflown
Member
 
Registered: Apr 2009
Location: Canada
Distribution: Slackware
Posts: 237

Original Poster
Rep: Reputation: 30

Quote:
Originally Posted by bnguyen View Post
According to this:
http://lists.ximian.com/pipermail/mo...il/037490.html
the build failed because of the presence of "libiconv" on the system.

So the dirty fix is temporarily removing libiconv then building mono (I did not try though, maybe you can confirm?)
I will try that and let you know. Thanks!
 
Old 10-09-2012, 05:01 PM   #17
animeresistance
Member
 
Registered: Feb 2004
Distribution: Slackware
Posts: 191

Rep: Reputation: 20
Quote:
Building all of those packages *just* for mono is overkill. Many of those items are dependencies for Monodevelop, but not for mono itself.
OoOoOpppppsssssss ... really sorry my bad ...
 
Old 10-09-2012, 07:51 PM   #18
escaflown
Member
 
Registered: Apr 2009
Location: Canada
Distribution: Slackware
Posts: 237

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by escaflown View Post
I will try that and let you know. Thanks!
Without libiconv, the build still fails with the following error:

Code:
make[2]: *** No rule to make target `minizip/ioapi.c', needed by `ioapi.lo'.  Stop.
make[2]: Leaving directory `/tmp/SBo/mono-2.10.9/support'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/SBo/mono-2.10.9'
make: *** [all] Error 2
 
Old 10-09-2012, 09:29 PM   #19
chrisretusn
Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware
Posts: 482

Rep: Reputation: Disabled
Compiled and installed libiconv, had the same error as you. Removed libiconv and compile succeeded.
 
Old 10-09-2012, 09:33 PM   #20
bnguyen
Member
 
Registered: Jul 2010
Distribution: Slackware
Posts: 125

Rep: Reputation: 32
Quote:
Originally Posted by escaflown View Post
Without libiconv, the build still fails with the following error:

Code:
make[2]: *** No rule to make target `minizip/ioapi.c', needed by `ioapi.lo'.  Stop.
make[2]: Leaving directory `/tmp/SBo/mono-2.10.9/support'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/SBo/mono-2.10.9'
make: *** [all] Error 2
Well, I guess we'd be better off building mono on a fresh install then; seems like more than one external packages can cause the building to fail.

Last edited by bnguyen; 10-09-2012 at 09:35 PM.
 
Old 10-13-2012, 10:51 AM   #21
arvent
LQ Newbie
 
Registered: Nov 2010
Location: Bulgaria
Distribution: Slackware
Posts: 1

Rep: Reputation: 0
Hello.
Would like to report same error:
Code:
CC      test_eglib-memory.o
LD      test-eglib
../src/.libs/libeglib.a(libeglib_la-gunicode.o): In function `monoeg_g_get_charset':
/home/SBo/tmpdir/sbopkg.KpElNE/mono-2.10.9/eglib/src/gunicode.c:312: undefined reference to `locale_charset'
collect2: error: ld returned 1 exit status
make[4]: *** [test-eglib] Error 1
make[4]: Leaving directory `/home/SBo/tmpdir/sbopkg.KpElNE/mono-2.10.9/eglib/test'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/SBo/tmpdir/sbopkg.KpElNE/mono-2.10.9/eglib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/SBo/tmpdir/sbopkg.KpElNE/mono-2.10.9/eglib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/SBo/tmpdir/sbopkg.KpElNE/mono-2.10.9'
make: *** [all] Error 2
I am currently with Slackware64 14.0 fresh full install. Before attempting to build the mono package have install alienBOB's multilib packages (+ converted GConf. Needed for Teamviewer package).
The kernel is custom build, but it is with really small changes though:
Code:
bash-4.2$ diff config-generic-3.2.29 config-generic-3.2.29-atl64 
65c65
< CONFIG_LOCALVERSION=""
---
> CONFIG_LOCALVERSION="-atl64"
302c302
< # CONFIG_MK8 is not set
---
> CONFIG_MK8=y
306c306
< CONFIG_GENERIC_CPU=y
---
> # CONFIG_GENERIC_CPU is not set
313a314,315
> CONFIG_X86_INTEL_USERCOPY=y
> CONFIG_X86_USE_PPRO_CHECKSUM=y
since I'm with:
Code:
bash-4.2$ cat /proc/cpuinfo | grep "model name"
model name	: AMD Athlon(tm) 64 Processor 3500+
I followed the bnguyen's post(#15) and after removing the libiconv package it build & install without an error.
 
Old 10-20-2012, 05:37 PM   #22
O-Harjar
LQ Newbie
 
Registered: Apr 2011
Location: Norway
Distribution: Slackware
Posts: 4

Rep: Reputation: 1
Quote:
Originally Posted by bnguyen View Post
According to this:
http://lists.ximian.com/pipermail/mo...il/037490.html
the build failed because of the presence of "libiconv" on the system.

So the dirty fix is temporarily removing libiconv then building mono (I did not try though, maybe you can confirm?)
Yes that fix it
 
Old 11-09-2012, 06:00 AM   #23
henriqueak
LQ Newbie
 
Registered: Nov 2012
Posts: 1

Rep: Reputation: Disabled
Quote:
Originally Posted by escaflown View Post
I was recently struggling with mono slackBuild compilation. It kept failing with the error
Code:
../src/.libs/libeglib.a(libeglib_la-gunicode.o): In function `monoeg_g_get_charset':
/tmp/SBo/mono-2.10.9/eglib/src/gunicode.c:312: undefined reference to `locale_charset'
collect2: error: ld returned 1 exit status
make[4]: *** [test-eglib] Error 1
make[4]: Leaving directory `/tmp/SBo/mono-2.10.9/eglib/test'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/tmp/SBo/mono-2.10.9/eglib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/tmp/SBo/mono-2.10.9/eglib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/SBo/mono-2.10.9'
make: *** [all] Error 2

I had to add the sed command below to the slackBuild, right after the configure command, in order to build it successfully:
Code:
sed -i eglib/config.h -e 's|#define HAVE_LOCALCHARSET_H 1|#define HAVE_LOCALCHARSET_H 0|'
Hope it might help someone with the same issue.


I was having the same problem. Like I saw on another site and here, modifying the HAVE_LOCALCCHARSET_H value to 0 solved my problem too. I'm using Slackware 14.0 (installed full from scratch) 64 bits. I just had to install libgdiplus, and do the modification above. All works fine!
 
Old 12-30-2012, 11:42 AM   #24
sebasalazar
LQ Newbie
 
Registered: Dec 2012
Posts: 1

Rep: Reputation: Disabled
Try with this one.

https://raw.github.com/sebasalazar/S...ono.SlackBuild

This Slackbuild is for mono 2.11.4. This compile fine in my home and work.
 
  


Reply

Tags
mono, slackbuild


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
mono: error running custom app via mono on linux RH kirk5000 Linux - Software 4 06-15-2012 04:22 AM
How to create RPM for RHEL 6 to deploy a Mono Binary, with Mono 2.8.2 as a dependency bmoran Linux - Software 2 06-04-2012 09:53 AM
sox convert a-law mono 8000hz wav to pcm signed 16bit mono wav saiyen2002 Linux - Software 2 02-23-2012 08:02 PM
Mono 1.1.12 - Install older mono to co-exist with current version ryerke Linux - Software 4 03-02-2010 08:54 PM
Help Mono Installed But Mono Develop Won't Load TheGreatGonzo Slackware 8 05-18-2006 06:42 AM


All times are GMT -5. The time now is 07:25 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration