----- Original Message -----
>
> Hi,
>
> Building ATS earlier on a Ubuntu virtual machine went swimmingly.
> However, now trying to get the package libexpat-dev for Ubunto 9.10
> inside windows box and it seems we're forced to install
> libexpat1-dev:
>
> s@ubuntu:~/trafficserver-2.0.1$ sudo apt-get install libexpat-dev
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Package libexpat-dev is a virtual package provided by:
> libexpat1-dev 2.0.1-4ubuntu1.1
> You should explicitly select one to install.
> E: Package libexpat-dev has no installation candidate
>
> It seems to produce make errors:
> ...-DHAVE_SYS_SYSINFO_H=1 -DHAVE_ARPA_NAMESER_COMPAT_H=1
> -DHAVE_EXECINFO_H=1 -DHAVE_NETDB_H=1 -DHAVE_REGEX_H=1
> -DHAVE_CTYPE_H=1 -DHAVE_MALLOC_H=1 -DHAVE_WAIT_H=1 -DHAVE_FLOAT_H=1
> -DHAVE_LIBGEN_H=1 -DHAVE_VALUES_H=1 -DHAVE_ALLOCA_H=1
> -DHAVE_CPIO_H=1 -DHAVE_STROPTS_H=1 -DHAVE_SYS_MOUNT_H=1
> -DHAVE_SYS_PARAM_H=1 -DHAVE_SQLITE3_H=1 -DGETHOSTBYNAME_R_GLIBC2=1
> -DHTTP_CACHE=1 -DMGMT_USE_SYSLOG -I. -DLOCAL_MANAGER
> -I../../../libinktomi++ -I../../../librecords -I../../../proxy/mgmt2
> -I../../../proxy/mgmt2/api2 -I../../../proxy/mgmt2/api2/include
> -I../../../proxy/mgmt2/cli -I../../../proxy/mgmt2/cluster
> -I../../../proxy/mgmt2/preparse -I../../../proxy/mgmt2/utils
> -I../../../proxy/mgmt2/web2 -I../../../proxy -I/usr/include/tcl8.4
> -g -pipe -Wall -Werror -Wno-char-subscripts -Wno-write-strings -O3
> -feliminate-unused-debug-symbols -fno-strict-aliasing
> -Wno-invalid-offsetof -march=i586 -MT libutils_lm_a-XmlUtils.o -MD
> -MP -MF .deps/libutils_lm_a-XmlUtils.Tpo -c -o
> libutils_lm_a-XmlUtils.o `test -f 'XmlUtils.cc' || echo
> './'`XmlUtils.cc
> XmlUtils.cc: In member function ‘int XMLDom::LoadXML(const char*)’:
> XmlUtils.cc:452: error: ‘XML_Parser’ was not declared in this scope
> XmlUtils.cc:452: error: expected ‘;’ before ‘p’
> XmlUtils.cc:453: error: ‘p’ was not declared in this scope
> XmlUtils.cc:457: error: ‘p’ was not declared in this scope
> XmlUtils.cc:457: error: ‘XML_SetUserData’ was not declared in this
> scope
> XmlUtils.cc:462: error: ‘XML_SetElementHandler’ was not declared in
> this scope
> XmlUtils.cc:466: error: ‘XML_SetCharacterDataHandler’ was not
> declared in this scope
> XmlUtils.cc:468: error: ‘XML_Parse’ was not declared in this scope
> make[3]: *** [libutils_lm_a-XmlUtils.o] Error 1
> make[3]: Leaving directory
> `/home/schmeelk/trafficserver-2.0.1/proxy/mgmt2/utils'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory
> `/home/schmeelk/trafficserver-2.0.1/proxy/mgmt2'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/schmeelk/trafficserver-2.0.1/proxy'
> make: *** [all-recursive] Error 1
>
> Any advise? Missing something obvious?


I'm on 11.04, so ignore the versions.
You need to install the *real* package, which you didn't.

i.galic@panic ~ % dpkg -l | grep -i expat
ii  libexpat1                             2.0.1-7ubuntu3                        
 XML parsing C library - runtime library
ii  libexpat1-dev                         2.0.1-7ubuntu3                        
 XML parsing C library - development kit
i.galic@panic ~ % cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=11.04



> Thanks in advance!
> Suzanna

i

--
Igor Galić

Tel: +43 (0) 664 886 22 883
Mail: i.ga...@brainsware.org
URL: http://brainsware.org/

Reply via email to