[pulseaudio-tickets] [PulseAudio] #371: build fails if libltdl3-dev package is not installed

PulseAudio trac-noreply at tango.0pointer.de
Fri Sep 26 00:32:36 PDT 2008


#371: build fails if libltdl3-dev package is not installed
--------------------------+-------------------------------------------------
 Reporter:  fPonias       |       Owner:  lennart
     Type:  defect        |      Status:  new    
 Priority:  normal        |   Milestone:         
Component:  build-system  |    Severity:  normal 
 Keywords:  libltdl       |  
--------------------------+-------------------------------------------------
 configure should catch that this library is not present.


 --config output--

  ---{ pulseaudio 0.9.12 }---

     prefix:                        /usr/local
     sysconfdir:                    ${prefix}/etc
     localstatedir:                 ${prefix}/var
     System Runtime Path:           ${prefix}/var/run/pulse
     System State Path:             ${prefix}/var/lib/pulse
     System Config Path:            ${prefix}/var/lib/pulse
     Compiler:                      gcc -std=gnu99
     CFLAGS:                        -g -O2 -Wall -W -Wextra -pedantic -pipe
 -Wno-long-long -Wno-overlength-strings -Wconversion -Wundef -Wformat
 -Wpacked -Wformat-security -Wmissing-include-dirs -Wformat-nonliteral
 -Wold-style-definition -Wdeclaration-after-statement -Wfloat-equal
 -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes
 -Wredundant-decls -Wmissing-noreturn -Wshadow -Wendif-labels -Wpointer-
 arith -Wcast-align -Wwrite-strings -Wno-unused-parameter -ffast-math
     Have X11:                      yes
     Enable OSS:                    yes
     Enable Alsa:                   yes
     Enable Solaris:                no
     Enable GLib 2.0:               no
     Enable GConf:                  no
     Enable Avahi:                  no
     Enable Jack:                   yes
     Enable Async DNS:              no
     Enable LIRC:                   no
     Enable HAL:                    no
     Enable BlueZ:                  no
     Enable TCP Wrappers:           no
     Enable libsamplerate:          no
     Enable PolicyKit:              no
     System User:                   pulse
     System Group:                  pulse
     Realtime Group:                pulse-rt
     Access Group:                  pulse-access
     Enable per-user EsounD socket: yes


 -- build errors --

 from the version .11 build

  gcc -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/modules
 -I../src/modules/rtp -I../src/modules/gconf -pthread
 -D_POSIX_PTHREAD_SEMANTICS -I../libltdl -I/usr/local/include
 -DPA_DLSEARCHPATH=\"/usr/local/lib/pulse-0.9/modules/\"
 -DPA_DEFAULT_CONFIG_DIR=\"/usr/local/etc/pulse\"
 -DPA_BINARY=\"/usr/local/bin/pulseaudio\"
 -DPA_SYSTEM_RUNTIME_PATH=\"/usr/local/var/run/pulse\"
 -DPA_SYSTEM_CONFIG_PATH=\"/usr/local/var/lib/pulse\"
 -DPA_SYSTEM_STATE_PATH=\"/usr/local/var/lib/pulse\" -DAO_REQUIRE_CAS
 "-DDEBUG_TRAP=__asm__(\"int \$3\")" -g -O2 -std=gnu99 -Wall -W -Wextra
 -pedantic -pipe -Wformat -Wold-style-definition -Wdeclaration-after-
 statement -Wfloat-equal -Wmissing-declarations -Wmissing-prototypes
 -Wstrict-prototypes -Wredundant-decls -Wmissing-noreturn -Wshadow -Wendif-
 labels -Wpointer-arith -Wcast-align -Wwrite-strings -Winline -Wno-unused-
 parameter -ffast-math -MT libpulse_la-pstream.lo -MD -MP -MF .deps
 /libpulse_la-pstream.Tpo -c pulsecore/pstream.c  -fPIC -DPIC -o .libs
 /libpulse_la-pstream.o
 In file included from ./pulsecore/sink-input.h:34,
                  from ./pulsecore/core.h:41,
                  from ./pulsecore/core-scache.h:26,
                  from pulsecore/pstream.c:47:
 ./pulsecore/module.h:26:18: error: ltdl.h: No such file or directory
 In file included from ./pulsecore/module.h:31,
                  from ./pulsecore/sink-input.h:34,
                  from ./pulsecore/core.h:41,
                  from ./pulsecore/core-scache.h:26,
                  from pulsecore/pstream.c:47:
 ./pulsecore/modinfo.h:37: error: expected ‘)’ before ‘dl’
 In file included from ./pulsecore/sink-input.h:34,
                  from ./pulsecore/core.h:41,
                  from ./pulsecore/core-scache.h:26,
                  from pulsecore/pstream.c:47:
 ./pulsecore/module.h:38: error: expected specifier-qualifier-list before
 ‘lt_dlhandle’
 make[3]: *** [libpulse_la-pstream.lo] Error 1
 make[3]: Leaving directory `/home/mungerc/Desktop/pulseaudio-0.9.11/src'
 make[2]: *** [all] Error 2
 make[2]: Leaving directory `/home/mungerc/Desktop/pulseaudio-0.9.11/src'
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory `/home/mungerc/Desktop/pulseaudio-0.9.11'
 make: *** [all] Error 2


 the version .12 build didn't actually give any meaningful errors, just
 quits out after hundreds of warnings.

-- 
Ticket URL: <http://www.pulseaudio.org/ticket/371>
PulseAudio <http://pulseaudio.org/>
The PulseAudio Sound Server


More information about the pulseaudio-bugs mailing list