~ubuntu-branches/ubuntu/trusty/libxml-libxml-perl/trusty-security

« back to all changes in this revision

Viewing changes to README

  • Committer: Package Import Robot
  • Author(s): Alessandro Ghedini
  • Date: 2012-10-16 14:10:26 UTC
  • mfrom: (1.2.26)
  • Revision ID: package-import@ubuntu.com-20121016141026-3x0th9su7cue9hl0
Tags: 2.0006+dfsg-1
* New upstream release
* Refresh patches
* Bump Standards-Version to 3.9.4 (no changes needed)

Show diffs side-by-side

added added

removed removed

Lines of Context:
88
88
XMLPREFIX=$YOURLIBXMLPREFIX parameter to Makefile.PL determining the correct
89
89
libxml2 version in use. e.g.
90
90
 
91
 
>  perl Makefile.PL XMLPREFIX=/usr/brand-new 
 
91
>  perl Makefile.PL XMLPREFIX=/usr/brand-new
92
92
 
93
93
will ask '/usr/brand-new/bin/xml2-config' about your real libxml2
94
94
configuration.
195
195
Additionally I received the following Note from Rozi Kovesdi:
196
196
 
197
197
> Here is my report if someone else runs into the same problem:
198
 
 
198
>
199
199
> Finally I am done with installing all the libraries and XML Perl
200
200
> modules
201
 
 
201
>
202
202
> The combination that worked best for me was:
203
203
> gcc
204
204
> GNU make
205
 
 
205
>
206
206
> Most importantly - before trying to install Perl modules that depend on
207
207
> libxml2:
208
 
 
208
>
209
209
> must set SHLIB_PATH  to include  the path to  libxml2 shared library
210
 
 
210
>
211
211
> assuming that you used the default:
212
 
 
212
>
213
213
> export  SHLIB=/usr/local/lib
214
 
 
214
>
215
215
> also, make sure that the config  files have execute permission:
216
 
 
216
>
217
217
> /usr/local/bin/xml2-config
218
218
> /usr/local/bin/xslt-config
219
 
 
219
>
220
220
> they did not have +x after they were installed by 'make install'
221
221
> and it took me a while to realize that this was my problem
222
 
 
222
>
223
223
> or one can use:
224
 
 
224
>
225
225
> perl Makefile.PL LIBS='-L/path/to/lib' INC='-I/path/to/include'
226
226
 
227
227