Code Monkey home page Code Monkey logo

conky-cygwin's People

Contributors

jhpaul avatar

Watchers

 avatar  avatar

conky-cygwin's Issues

conky-cygwin won't compile in cygwin

Hello, folks:

I obtained the conky source, purportedly for Cygwin, from:

https://github.com/jhpaul/conky-cygwin

I use Cygwin on Windows 7 Pro, and my Cygwin does not seem to be supported. I
see that it idetifies the system with uname, so my output reads:

CYGWIN_NT-6.1

If I run configure, the error is:

Your operating system CYGWIN_NT-6.1 isn't supported
Feel free to help. :P

I imagine that a configure script for a Cygwin source should work in a Cygwin
distro, and so maybe I am not giving the right command options or something.

My commands were (from INSTALL instructions):

sh autogen.sh
./configure

I checked the configure script, and cygwin is mentioned nowhere in the "uname"
section (comments were already in the source and don't appear relevant to my
problem) (lines 11911 to 11942):

uname=`uname`
case $uname in
  Linux*)
    WANT_SYSINFO=yes
    ;;
  FreeBSD*|GNU/kFreeBSD*)
    WANT_KVM=yes
    WANT_DEVSTAT=yes
    WANT_OPTRESET=yes
    ;;
#  NetBSD*)
#    WANT_KVM=yes
#    WANT_OSSLIB=yes
#    ;;

  OpenBSD*)
    WANT_KVM=yes
    WANT_OSSLIB=yes
    ;;

# Solaris doesn't work at all right now
#  SunOS*)
#    WANT_KSTAT=yes
#    ;;

  *)
    echo "Your operating system $uname isn't supported"
    echo "Feel free to help. :P"
    exit 1
    ;;
esac

It appears as if only Linux and BSD/FreeBSD are supported. Cygwin is nowhere in
this case statement, ironic for a source supposedly made for cygwin. When I included cygwin as CYGWIN* in another case stanza, ./configure exited without error, but then the compilation had a fatal error. In short:

make[1]: Entering directory '/home/paul/src/conky/conky-1.9.0/src'
make  all-am
make[2]: Entering directory '/home/paul/src/conky/conky-1.9.0/src'
gcc -DHAVE_CONFIG_H -I. -DSYSTEM_CONFIG_FILE=\"/usr/local/etc/conky/conky.conf\" -DPACKAGE_LIBDIR=\"/usr/local/lib/conky\"   -I/usr/include/freetype2   -Wall -W  -MT conky-fs.o -MD -MP -MF .deps/conky-fs.Tpo -c -o conky-fs.o `test -f 'fs.c' || echo './'`fs.c
fs.c: In function ‘update_fs_stat’:
fs.c:121:18: error: storage size of ‘s’ isn’t known
  struct statfs64 s;
                  ^
fs.c:123:2: warning: implicit declaration of function ‘statfs64’ [-Wimplicit-function-declaration]
  if (statfs64(fs->path, &s) == 0) {
  ^
fs.c:121:18: warning: unused variable ‘s’ [-Wunused-variable]
  struct statfs64 s;
                  ^
fs.c: In function ‘init_fs_bar’:
fs.c:203:3: warning: array subscript has type ‘char’ [-Wchar-subscripts]
   while (isspace(*arg)) {
   ^
Makefile:1189: recipe for target 'conky-fs.o' failed
make[2]: *** [conky-fs.o] Error 1
make[2]: Leaving directory '/home/paul/src/conky/conky-1.9.0/src'
Makefile:471: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/paul/src/conky/conky-1.9.0/src'
Makefile:398: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1

Am I doing something wrong? What options should I send to ./configure? Do I
even have the right source?

Paul King

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.