When I bought Windchaser, it had a solar-powered garden light as an anchor light/all round white light and a battery powered starboard/port light sucker thing.
To bring Windchaser up the coast, I got a led version of the battery light and with a clamp not a sucker. The only thing the sucker would stick to was my forehead but then the light was in my eyes. The clamp one went on the bow. Yes, the light was not exactly legal but was just for emergency use and just to get to home port.
The garden light did not work and I would not have relied on it anyway. I got a Whitworths led anchor light on a pole and stuck it up over the solar panel which on Windchaser is way up in the air. From directly in front of the boat the mast hid the light a bit but I could easily see it's glow so it was better than 90% of anchored boats I encountered in my trip up the coast. Also, one of the Qld gov brochures on installing lights says about the 360 degree white light, "As a general rule, an all round white light should not be obscured by masts or other structures by more than 6° of arc." so it is possible to have a light not on top of the mast.
http://www.msq.qld.gov.au/~/media/81a30867-a341-4869-b67a-6064de100df3/pdf_nmsc_brochure_tips_installing_nav_lights.pdfI am still undecided exactly what lights to install, like maybe do what Phillip does with temp 12v side lights or something on top of the mast like Tom. Whatever, good lighting is not that hard to achieve and it makes sound sailing sense as well as ticks the right boxes as far as being legal goes.