Opened 3 years ago

Last modified 20 months ago

#5190 new bug

TinyCoreLinux extension

Reported by: josemaria.alkala Owned by:
Priority: low Milestone: 7.6.2
Component: Build System Version: 7.0.3
Keywords: Cc:
Operating System: Linux Architecture: x86
Type of failure: Installing GHC failed Difficulty:
Test Case: Blocked By:
Blocking: Related Tickets:

Description

I am trying to create a GHC package for TinyCoreLinux? http://www.tinycorelinux.com (this is a 10Mbytes linux distribution)

I have downloaded the general binary:
http://haskell.org/ghc/dist/7.0.3/ghc-7.0.3-i386-unknown-linux.tar.bz2

When I execute: ./configure, I get:
checking for path to top of build tree... ghc-pwd: mkTextEncoding: invalid argument (Invalid argument)
configure: error: cannot determine current directory

As a disclaimer, I am not a developer!

Change History (7)

comment:1 Changed 3 years ago by simonmar

what is your LANG environment variable set to? Does TinyCoreLinux? support locales at all?

comment:2 Changed 3 years ago by simonmar

  • Status changed from new to infoneeded

comment:3 Changed 3 years ago by josemaria.alkala

  • Status changed from infoneeded to patch

This is the environment:

tc@box:~$ export
export BACKUP='1'
export COLORFGBG='15;0'
export COLORTERM='rxvt'
export DESKTOP='flwm_topside'
export DISPLAY=':0.0'
export ENV='/home/tc/.ashrc'
export FLWM_TITLEBAR_COLOR='B0:C4:DE'
export G_FILENAME_ENCODING='iso8859-1'
export HOME='/home/tc'
export ICONS='wbar'
export LANG='C'
export LOGNAME='tc'
export OLDPWD='/usr/local/bin'
export PAGER='less -EM'
export PATH='/usr/local/bin:/usr/local/sbin:/usr/sbin:/usr/bin:/sbin:/bin'
export PS1='\u@\h:\w\$ '
export PWD='/home/tc'
export SHELL='/bin/sh'
export TERM='rxvt'
export TZ='UTC'
export USER='tc'
export WINDOWID='10485762'
export WM_PID='4479'
export XAUTHORITY='/home/tc/.Xauthority'
tc@box:~$


comment:4 Changed 3 years ago by simonmar

  • Milestone set to 7.2.1
  • Status changed from patch to new
  • Type of failure changed from Building GHC failed to Installing GHC failed

ghc-pwd is a GHC-compiled binary used by the installer configure script. It's trying to call iconv to get the locale encoding. I presume TinyCoreLinux? is missing some iconv functionality or something, but I'm not sure exactly what, or how we should work around it. Someone will have to install TinyCoreLinux? and investigate further.

comment:5 Changed 3 years ago by igloo

  • Milestone changed from 7.2.1 to 7.4.1

comment:6 Changed 2 years ago by igloo

  • Milestone changed from 7.4.1 to 7.6.1
  • Priority changed from normal to low

comment:7 Changed 20 months ago by igloo

  • Milestone changed from 7.6.1 to 7.6.2
Note: See TracTickets for help on using tickets.