Yes, it would be:
./configure CFLAGS="-fPIC" CPPFLAGS="-I/usr/include/geotiff"

using -fPIC for the whole build is suboptimal, I'll try and figure out how to 
fix it tonight.

-Ryan

On June 17, 2014 2:50:52 PM MST, Lee Bengston <[email protected]> wrote:
>On Tue, Jun 17, 2014 at 4:01 AM, Ryan Stark <[email protected]> wrote:
>
>
>>  ---
>> ​ snip---​
>>
>>
>> As a broad work around I did what the compiler suggested and did:
>> make clean
>> ../configure CPPFLAGS="-fPIC -I/usr/include/geotiff"
>> make
>>
>> and as expected the error goes away but then all of the executables
>are
>> PIC enabled64
>> AMD64 requires shared libraries to be compiled with -fPIC, ia32 does
>not
>> thus you don't see the error on your 32bit ATOM box.
>>
>> It looks like this topic came up on the list last June as well:
>> http://lists.xastir.org/pipermail/xastir/2013-June/thread.html#21654
>> "[Xastir] More Kubuntu 13 map problems"
>>
>>
>​yes, I forgot about that one.  The user's solution in that case
>according
>to his message was...
>
>./configure CPPFLAGS="-I/usr/include/geotiff" CFLAGS=-fPIC"​
>
>​Hmm, I copy/pasted the above from Jim's message from last year, but it
>looks like it could be missing a set of double quotes?
>
> ​Lee - K5DAT
>_______________________________________________
>Xastir mailing list
>[email protected]
>http://xastir.org/mailman/listinfo/xastir

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.
_______________________________________________
Xastir mailing list
[email protected]
http://xastir.org/mailman/listinfo/xastir

Reply via email to