Skip Menu |

This queue is for tickets about the SQLite-VirtualTable CPAN distribution.

Report information
The Basics
Id: 80272
Status: resolved
Priority: 0/
Queue: SQLite-VirtualTable

People
Owner: Nobody in particular
Requestors: BENBOOTH [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: SQLite::VirtualTable doesn't compile on Mac OS X 10.8
I was getting this compile error trying to compile DBD::SQLite on Mac OS X 10.8: perlvtab.c:851:18: error: use of undeclared identifier 'environ' char **env = environ; ^ Adding the following two lines to the top of perlvtab.c fixed the problem for me: #include <unistd.h> extern char **environ;
CC: BENBOOTH [...] cpan.org
Subject: Re: [rt.cpan.org #80272] AutoReply: SQLite::VirtualTable doesn't compile on Mac OS X 10.8
Date: Thu, 25 Oct 2012 10:15:18 -0700
To: bug-SQLite-VirtualTable [...] rt.cpan.org
From: Ben Booth <benwbooth [...] gmail.com>
I just tested it again. It looks like you only need to add the following line to perlvtab.c to get it to compile under Mac OS X: Show quoted text
> extern char **environ;
On Oct 18, 2012, at 5:14 PM, Bugs in SQLite-VirtualTable via RT <bug-SQLite-VirtualTable@rt.cpan.org> wrote: Show quoted text
> > Greetings, > > This message has been automatically generated in response to the > creation of a trouble ticket regarding: > "SQLite::VirtualTable doesn't compile on Mac OS X 10.8", > a summary of which appears below. > > There is no need to reply to this message right now. Your ticket has been > assigned an ID of [rt.cpan.org #80272]. Your ticket is accessible > on the web at: > > https://rt.cpan.org/Ticket/Display.html?id=80272 > > Please include the string: > > [rt.cpan.org #80272] > > in the subject line of all future correspondence about this issue. To do so, > you may reply to this message. > > Thank you, > bug-SQLite-VirtualTable@rt.cpan.org > > ------------------------------------------------------------------------- > I was getting this compile error trying to compile DBD::SQLite on Mac OS X 10.8: > > perlvtab.c:851:18: error: use of undeclared identifier 'environ' > char **env = environ; > ^ > > Adding the following two lines to the top of perlvtab.c fixed the problem for me: > > #include <unistd.h> > extern char **environ;
fixed in 0.07