Unable to build openconnect-3.16 in Solaris 10 (x86)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi David,

Sorry for the late response, I just reached my office, and I really
appreciate your swift assistance.

>> If you run 'man asprintf' on Solaris 10, what happens?
man asprintf
No manual entry for asprintf.

>> Perhaps it was added in an update, and your system is out of date?
Possible, never heard/know of any update done on this machine; it was
setup/maintained by another guy and he's left.

>> or try the tarball at
>> http://david.woodhou.se/openconnect-3.16-15-g759cb4a.tar.gz
sh ./configure
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking build system type... i386-pc-solaris2.10
checking host system type... i386-pc-solaris2.10
checking whether to disable maintainer-specific portions of Makefiles... yes
checking for a BSD-compatible install... ./install-sh -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
configure: error: /etc/vpnc/vpnc-script does not seem to be executable.
    OpenConnect will not function correctly without a vpnc-script.
    See http://www.infradead.org/openconnect/vpnc-script.html for more details.

    If you are building a distribution package, please ensure that your
    packaging is correct, and that a vpnc-script will be installed when the
    user installs your package. You should provide a --with-vpnc-script=
    argument to this configure script, giving the full path where the script
    will be installed.

    The standard location is /etc/vpnc/vpnc-script. To bypass this error and
    build OpenConnect to use the script from this location, even though it's
    not present at the time you are building OpenConnect, pass the argument
    "--with-vpnc-script=/etc/vpnc/vpnc-script"

Yes! I think I'm getting closer now, will try to add the vpnc script
and TUN/TAP driver and update again.

On Thu, Apr 19, 2012 at 5:48 AM, David Woodhouse <dwmw2 at infradead.org> wrote:
> On Wed, 2012-04-18 at 11:58 +0100, David Woodhouse wrote:
>> Solaris 11 seems to have asprintf(). Does Solaris 10 not have it?
>>
>> If you run 'man asprintf' on Solaris 10, what happens?
>>
>> We might have to have our own local implementation of it, like we do
>> for strcasestr().
>
> Hm.
>
> Having *implemented* a local asprintf() for the benefit for Solaris 10,
> I now find that a newly-installed Solaris 10 VM does actually seem to
> have asprintf() in libc.
>
> Perhaps it was added in an update, and your system is out of date?
>
> --
> dwmw2



[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux