Skip to content

Build fails if prefix is not passed to --configure #275

@itscool900

Description

@itscool900

Similar to #139
Make output:

make  all-recursive
make[1]: Entering directory '/home/s/programs-and-confs/usbmuxd-1.1.1'
Making all in src
make[2]: Entering directory '/home/s/programs-and-confs/usbmuxd-1.1.1/src'
  CC       usbmuxd-client.o
  CC       usbmuxd-device.o
  CC       usbmuxd-preflight.o
  CC       usbmuxd-log.o
  CC       usbmuxd-usb.o
  CC       usbmuxd-utils.o
  CC       usbmuxd-conf.o
  CC       usbmuxd-main.o
In file included from usb.h:26,
                 from usb.c:34:
utils.h:82:9: error: redeclaration of enumerator 'PLIST_FORMAT_XML'
   82 |         PLIST_FORMAT_XML,
      |         ^~~~~~~~~~~~~~~~
In file included from utils.h:26:
/usr/local/include/plist/plist.h:156:9: note: previous definition of 'PLIST_FORMAT_XML' with type 'enum <anonymous>'
  156 |         PLIST_FORMAT_XML     = 1,  /**< XML format */
      |         ^~~~~~~~~~~~~~~~
utils.h:83:9: error: redeclaration of enumerator 'PLIST_FORMAT_BINARY'
   83 |         PLIST_FORMAT_BINARY
      |         ^~~~~~~~~~~~~~~~~~~
/usr/local/include/plist/plist.h:157:9: note: previous definition of 'PLIST_FORMAT_BINARY' with type 'enum <anonymous>'
  157 |         PLIST_FORMAT_BINARY  = 2,  /**< bplist00 format */
      |         ^~~~~~~~~~~~~~~~~~~
In file included from conf.c:43:
utils.h:82:9: error: redeclaration of enumerator 'PLIST_FORMAT_XML'
   82 |         PLIST_FORMAT_XML,
      |         ^~~~~~~~~~~~~~~~
In file included from conf.h:27,
                 from conf.c:42:
/usr/local/include/plist/plist.h:156:9: note: previous definition of 'PLIST_FORMAT_XML' with type 'enum <anonymous>'
  156 |         PLIST_FORMAT_XML     = 1,  /**< XML format */
      |         ^~~~~~~~~~~~~~~~
utils.h:83:9: error: redeclaration of enumerator 'PLIST_FORMAT_BINARY'
   83 |         PLIST_FORMAT_BINARY
      |         ^~~~~~~~~~~~~~~~~~~
/usr/local/include/plist/plist.h:157:9: note: previous definition of 'PLIST_FORMAT_BINARY' with type 'enum <anonymous>'
  157 |         PLIST_FORMAT_BINARY  = 2,  /**< bplist00 format */
      |         ^~~~~~~~~~~~~~~~~~~
In file included from log.c:34:
utils.h:82:9: error: redeclaration of enumerator 'PLIST_FORMAT_XML'
   82 |         PLIST_FORMAT_XML,
      |         ^~~~~~~~~~~~~~~~
In file included from utils.c:38:
utils.h:82:9: error: redeclaration of enumerator 'PLIST_FORMAT_XML'
   82 |         PLIST_FORMAT_XML,
      |         ^~~~~~~~~~~~~~~~
In file included from utils.h:26:
/usr/local/include/plist/plist.h:156:9: note: previous definition of 'PLIST_FORMAT_XML' with type 'enum <anonymous>'
  156 |         PLIST_FORMAT_XML     = 1,  /**< XML format */
      |         ^~~~~~~~~~~~~~~~
utils.h:83:9: error: redeclaration of enumerator 'PLIST_FORMAT_BINARY'
   83 |         PLIST_FORMAT_BINARY
      |         ^~~~~~~~~~~~~~~~~~~
/usr/local/include/plist/plist.h:157:9: note: previous definition of 'PLIST_FORMAT_BINARY' with type 'enum <anonymous>'
  157 |         PLIST_FORMAT_BINARY  = 2,  /**< bplist00 format */
      |         ^~~~~~~~~~~~~~~~~~~
In file included from utils.h:26:
/usr/local/include/plist/plist.h:156:9: note: previous definition of 'PLIST_FORMAT_XML' with type 'enum <anonymous>'
  156 |         PLIST_FORMAT_XML     = 1,  /**< XML format */
      |         ^~~~~~~~~~~~~~~~
utils.h:83:9: error: redeclaration of enumerator 'PLIST_FORMAT_BINARY'
   83 |         PLIST_FORMAT_BINARY
      |         ^~~~~~~~~~~~~~~~~~~
/usr/local/include/plist/plist.h:157:9: note: previous definition of 'PLIST_FORMAT_BINARY' with type 'enum <anonymous>'
  157 |         PLIST_FORMAT_BINARY  = 2,  /**< bplist00 format */
      |         ^~~~~~~~~~~~~~~~~~~
In file included from usb.h:26,
                 from device.h:23,
                 from device.c:37:
utils.h:82:9: error: redeclaration of enumerator 'PLIST_FORMAT_XML'
   82 |         PLIST_FORMAT_XML,
      |         ^~~~~~~~~~~~~~~~
In file included from utils.h:26:
/usr/local/include/plist/plist.h:156:9: note: previous definition of 'PLIST_FORMAT_XML' with type 'enum <anonymous>'
  156 |         PLIST_FORMAT_XML     = 1,  /**< XML format */
      |         ^~~~~~~~~~~~~~~~
utils.h:83:9: error: redeclaration of enumerator 'PLIST_FORMAT_BINARY'
   83 |         PLIST_FORMAT_BINARY
      |         ^~~~~~~~~~~~~~~~~~~
/usr/local/include/plist/plist.h:157:9: note: previous definition of 'PLIST_FORMAT_BINARY' with type 'enum <anonymous>'
  157 |         PLIST_FORMAT_BINARY  = 2,  /**< bplist00 format */
      |         ^~~~~~~~~~~~~~~~~~~
make[2]: *** [Makefile:525: usbmuxd-log.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [Makefile:553: usbmuxd-utils.o] Error 1
make[2]: *** [Makefile:567: usbmuxd-conf.o] Error 1
In file included from usb.h:26,
                 from device.h:23,
                 from preflight.h:23,
                 from preflight.c:39:
utils.h:82:9: error: redeclaration of enumerator 'PLIST_FORMAT_XML'
   82 |         PLIST_FORMAT_XML,
      |         ^~~~~~~~~~~~~~~~
In file included from /usr/local/include/libimobiledevice/libimobiledevice.h:34,
                 from preflight.c:34:
/usr/local/include/plist/plist.h:156:9: note: previous definition of 'PLIST_FORMAT_XML' with type 'enum <anonymous>'
  156 |         PLIST_FORMAT_XML     = 1,  /**< XML format */
      |         ^~~~~~~~~~~~~~~~
utils.h:83:9: error: redeclaration of enumerator 'PLIST_FORMAT_BINARY'
   83 |         PLIST_FORMAT_BINARY
      |         ^~~~~~~~~~~~~~~~~~~
/usr/local/include/plist/plist.h:157:9: note: previous definition of 'PLIST_FORMAT_BINARY' with type 'enum <anonymous>'
  157 |         PLIST_FORMAT_BINARY  = 2,  /**< bplist00 format */
      |         ^~~~~~~~~~~~~~~~~~~
In file included from usb.h:26,
                 from client.c:43:
utils.h:82:9: error: redeclaration of enumerator 'PLIST_FORMAT_XML'
   82 |         PLIST_FORMAT_XML,
      |         ^~~~~~~~~~~~~~~~
In file included from client.c:40:
/usr/local/include/plist/plist.h:156:9: note: previous definition of 'PLIST_FORMAT_XML' with type 'enum <anonymous>'
  156 |         PLIST_FORMAT_XML     = 1,  /**< XML format */
      |         ^~~~~~~~~~~~~~~~
utils.h:83:9: error: redeclaration of enumerator 'PLIST_FORMAT_BINARY'
   83 |         PLIST_FORMAT_BINARY
      |         ^~~~~~~~~~~~~~~~~~~
/usr/local/include/plist/plist.h:157:9: note: previous definition of 'PLIST_FORMAT_BINARY' with type 'enum <anonymous>'
  157 |         PLIST_FORMAT_BINARY  = 2,  /**< bplist00 format */
      |         ^~~~~~~~~~~~~~~~~~~
In file included from usb.h:26,
                 from main.c:48:
utils.h:82:9: error: redeclaration of enumerator 'PLIST_FORMAT_XML'
   82 |         PLIST_FORMAT_XML,
      |         ^~~~~~~~~~~~~~~~
In file included from utils.h:26:
/usr/local/include/plist/plist.h:156:9: note: previous definition of 'PLIST_FORMAT_XML' with type 'enum <anonymous>'
  156 |         PLIST_FORMAT_XML     = 1,  /**< XML format */
      |         ^~~~~~~~~~~~~~~~
utils.h:83:9: error: redeclaration of enumerator 'PLIST_FORMAT_BINARY'
   83 |         PLIST_FORMAT_BINARY
      |         ^~~~~~~~~~~~~~~~~~~
/usr/local/include/plist/plist.h:157:9: note: previous definition of 'PLIST_FORMAT_BINARY' with type 'enum <anonymous>'
  157 |         PLIST_FORMAT_BINARY  = 2,  /**< bplist00 format */
      |         ^~~~~~~~~~~~~~~~~~~
make[2]: *** [Makefile:511: usbmuxd-preflight.o] Error 1
make[2]: *** [Makefile:539: usbmuxd-usb.o] Error 1
make[2]: *** [Makefile:581: usbmuxd-main.o] Error 1
make[2]: *** [Makefile:483: usbmuxd-client.o] Error 1
make[2]: *** [Makefile:497: usbmuxd-device.o] Error 1
make[2]: Leaving directory '/home/s/programs-and-confs/usbmuxd-1.1.1/src'
make[1]: *** [Makefile:427: all-recursive] Error 1
make[1]: Leaving directory '/home/s/programs-and-confs/usbmuxd-1.1.1'
make: *** [Makefile:359: all] Error 2

Curiously, when you add CFLAGS=-I/usr/local/include, make output includes this: ./configure: 16415: CFLAGS+= -I/usr/local/include: not found
But it compiles successfully otherwise.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions