When making stuff out of PVC pipes, use PVC solvent. As simple as that. You have noble intentions but in this case, it's just setting yourself up for failure. The solvent and primer doesn't need to come fresh from a store - be creative!
Look on local Craigslist and FB marketplace. Plenty of DIY types know about the short shelf life of pipe solvent, and may be giving it away or selling for a couple bucks.
Advertise on CL and FB marketplace that you'll pick up a used but at least half-full bottle of solvent and primer for a fiver from anyone willing to part with that.
Ask your neighbors.
Ask a farmer if you live where there are farms. Established farms are like mini hardware store stockrooms, but with not much stock rotation :)
Just buy the thing. After using what you need, advertise that it's available for pickup for $1 or $5 as above. Probably better than advertising for $0 since there are lots of people who will contact you then not bother showing up. It'll drive you nuts. Once someone shows up, you can then give it away for free if you feel like it.
There's another consideration for trying to have low ecological impact or low waste: Every hour of being alive has an environmental and resource usage cost. Don't forget that. It takes some amortized amount of food, drinking water, gasoline/diesel, sewage plant's processing capacity, medical care, recreational facility use (whether local or remote vacations etc.), and so on. By expending a couple hours chasing leftover glue and pondering about it, you have already obliterated any "savings" by expending those resources that people not think about. And, sometimes, the "savings" are far from. See the excerpt from Joel Spolsky's essay "A Field Guide to Developers" that I've included at the end of this answer.
Finally, if you're pumping the water from the sump up, make sure to install a check valve in the bottom half of the riser. It'll prevent the riser from draining back into the sump when the pump turns off.
September 7, 2006 by Joel Spolsky
A Field Guide to Developers
excerpt
Let me, for a moment, talk about the famous Aeron chair, made by Herman Miller. They cost about $900. This is about $800 more than a cheap office chair from OfficeDepot or Staples.
They are much more comfortable than cheap chairs. If you get the right size and adjust it properly, most people can sit in them all day long without feeling uncomfortable. The back and seat are made out of a kind of mesh that lets air flow so you don’t get sweaty. The ergonomics, especially of the newer models with lumbar support, are excellent.
They last longer than cheap chairs. We’ve been in business for six years and every Aeron is literally in mint condition: I challenge anyone to see the difference between the chairs we bought in 2000 and the chairs we bought three months ago. They easily last for ten years. The cheap chairs literally start falling apart after a matter of months. You’ll need at least four $100 chairs to last as long as an Aeron.
So the bottom line is that an Aeron only really costs $500 more over ten years, or $50 a year. One dollar per week per programmer.
A nice roll of toilet paper runs about a buck. Your programmers are probably using about one roll a week, each.
So upgrading them to an Aeron chair literally costs the same amount as you’re spending on their toilet paper, and I assure you that if you tried to bring up toilet paper in the budget committee you would be sternly told not to mess around, there were important things to discuss.
On a personal note, I've got a surplus Aeron for my home office in 2018. The only signs of wear are dust in some nooks and crannies, and scuffs on the wheels. Yes, it did take way more resources to make an Aeron than a cheap office chair. That Aeron will stay out of the landfill for a very long time, and it will save resources in the long run and that's what counts.