Steffen Nurpmeso <[email protected]> wrote:

> Good morning Predrag.
> 
> Predrag Punosevac <[email protected]> wrote:
>  |Is this expected behaviour of 14.8.13
>  |
>  |# uname -a
>  |OpenBSD oko.bagdala2.net 6.0 GENERIC.MP#2 amd64
>  |
>  |  CC imap.c
>  |imap.c: In function 'imap_path_encode':
>  |imap.c:376: error: 'iconv_t' undeclared (first use in this function)
>  |imap.c:376: error: (Each undeclared identifier is reported only once
>  |imap.c:376: error: for each function it appears in.)
>  |imap.c:376: error: expected ';' before 'icd'
>  |imap.c:380: error: 'icd' undeclared (first use in this function)
>  |imap.c:380: warning: implicit declaration of function 'iconv_open'
>  |imap.c:387: warning: implicit declaration of function 'n_iconv_str'
>  |imap.c:392: warning: implicit declaration of function 'iconv_close'
>  |imap.c: In function 'imap_path_decode':
>  |imap.c:700: error: 'iconv_t' undeclared (first use in this function)
>  |imap.c:700: error: expected ';' before 'icd'
>  |imap.c:704: error: 'icd' undeclared (first use in this function)
>  |*** Error 1 in . (./mk.mk:97 'imap.o': @if [ -z "" ]; then echo '  CC
>  |imap.c'; else echo '  $ /usr/bin/gcc -DNDEBUG  -std=c99 -O3 -Wall
>  |-Wex...)
>  |*** Error 1 in /root/s-nail (makefile:9 'all')
> 
> Oh - you don't have libiconv installed?  Oh yes, it seems i have
> missed this dependency, IMAP needs to be disabled if iconv is not
> found on the system.  And/or i need to add another configuration
> option for systems which only provide an UTF-8 locale, so that the
> iconv step is simply not needed at all!  That is better, i'll do
> that one.

# uname -a
OpenBSD oko.bagdala2.net 6.0 GENERIC.MP#2 amd64

# pkg_info libiconv
Information for inst:libiconv-1.14p3

Comment:
character set conversion library

No IMAP support compiled in.
Can't canonicalize "/home/predrag/imaps://[email protected]"
s-nail version v14.8.14.  Type ? for help.
"/var/mail/predrag": 0 messages
There are new messages in the error message ring (denoted by "#ERR#")
  The `errors' command manages this message ring
    #ERR#?

I am not sure if I originally had libiconv so I did pkg_add libiconv
which still resulted with me not having IMAP as above. Funny after I
tried pkg_delete libiconv it was reported as a dependency for the long
list of packages I use. 

I am just too tired to look what went wrong with this but I sadly I am
back to 14.8.12 as you can see.

Predrag

Required by:
GraphicsMagick-1.3.24
ImageMagick-6.9.4.10
a2ps-4.14p11
aspell-0.60.6.1p3
at-spi2-atk-2.20.1
at-spi2-core-2.20.2
atk-2.20.0
atk2mm-2.24.2
avahi-0.6.31p24
barcode-0.99
bash-4.3.46
cabal-install-1.22.6.0
cairo-1.14.6p1
calcurse-4.1.0v0
clamav-0.99.2p0
clisp-2.49
cups-filters-1.9.0p0
cups-libs-2.1.4
curl-7.49.0p1
dbus-glib-0.106v0
djview4-4.10.6
djvulibre-3.5.27p0
dvdauthor-0.7.0p3
dwdiff-2.0.9
e2fsprogs-1.42.12p3
enca-1.18
enchant-1.6.0p3
firefox-esr-45.2.0
flac-1.3.1p0
foomatic-db-engine-4.0.12p0

> 
> Thanks for reporting this!
> You could get it going the way you want with the attached patch.
> Ciao!
> 
> --steffen

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
__________________________________
[email protected]

Reply via email to