Compiling fluxbox

143 views
Skip to first unread message

Ivan Gualandri

unread,
Aug 26, 2011, 3:30:33 AM8/26/11
to minix3
Hi all, 

i'm trying to compile fluxbox with the new pkgsrc format. 

I installed x11 from source (using the pkgsrc package in minix/x11). 
But actually i have problem in the configure part. 
Here is the log: 

checking for XOpenDisplay in -lX11... no
configure: error: Could not find XOpenDisplay in -lX11.
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/wm/fluxbox
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/wm/fluxbox


It seems that he doesn't find X11 libraries. 

Do you have any idea? 

Thanks,
Ivan

--
"elen sila lumenn omentielvo"

Murray

unread,
Aug 26, 2011, 7:21:20 AM8/26/11
to minix3
I have found this also, it is not that configure cannot find the X11
file,
it is that if you look into the output of config.log you will see that
there is a compiler error stating that there is an undefined reference
to __stderr.

I had this error in a different program going into /usr/src
and making the elf libraries and the gnu includes fixed that error.


However for fluxbox this did not fix the error, the only conclusion I
can think of is that
the X11 libraries need to be rebuilt with the current version of
minix.

I am using minix 3.2.0 last updated sunday 21st August.

Thomas Cort

unread,
Aug 27, 2011, 2:47:45 PM8/27/11
to minix3
> However for fluxbox this did not fix the error, the only conclusion I
> can think of is that the X11 libraries need to be rebuilt with the
> current version of minix.

It looks like either X11 or one of its dependencies hasn't been
compiled with the new NetBSD-based libc. Note, packages from
ftp.minix3.org are still Minix libc based. Re-building the
dependencies of fluxbox should get you past that issue.

Today I made some updates to the fluxbox package to get it working
again. Once you have a fully up to date system (latest version of
Minix and latest packages all compiled against the new libc), it
should build and run.

Screenshot: http://tomcort.com/minix/fluxbox.png

Cheers,
Thomas

Ivan Gualandri

unread,
Aug 29, 2011, 8:30:37 AM8/29/11
to min...@googlegroups.com
Hi thomas, thanks for your answer, 

actually i:
1. updated the kernel  (on Friday). 
2. rebuilt libraries with make elf-libraries
3. reinstalled X11 from minix/x11
4. tried to install fluxbox

but... still get the same error. 
Did i missed something? 

Thanks,
Ivan


--
You received this message because you are subscribed to the Google Groups "minix3" group.
To post to this group, send email to min...@googlegroups.com.
To unsubscribe from this group, send email to minix3+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/minix3?hl=en.

Thomas Cort

unread,
Aug 30, 2011, 6:45:47 AM8/30/11
to minix3
> 3. reinstalled X11 from minix/x11

"reinstalled" as in bmake clean and then bmake replace or bmake
install?

> Did i missed something?

Maybe there is some other package that needs to be compiled with the
new libc? I'm not sure which package that would be.

Newer packages in ELF format, compiled against the NetBSD based libc
should be making their way to ftp.minix3.org in the near future.

If you aren't able to find out which package needs to be re-compiled
against the new libc or if you want a quick fix, I've uploaded a
fluxbox binary package to my personal web space...
http://tomcort.com/minix/fluxbox-1.1.1nb6.tgz

-Thomas
Reply all
Reply to author
Forward
0 new messages