I will certainly try that as well Sean. Thanks for pointing me to that. 

Now that I'm through the steps, and have documented them carefully, in some 
ways the source rpm will be a step back. However peeking into it may give me 
some clues relative to some of the questions I had.

Thanks very much.



-----Original Message-----
From: i3-discuss [mailto:i3-discuss-boun...@i3.zekjur.net] On Behalf Of 
i3-discuss-requ...@i3.zekjur.net
Sent: Tuesday, October 28, 2014 12:03 PM
To: i3-discuss@i3.zekjur.net
Subject: i3-discuss Digest, Vol 54, Issue 11

Send i3-discuss mailing list submissions to
        i3-discuss@i3.zekjur.net

To subscribe or unsubscribe via the World Wide Web, visit
        http://infra.in.zekjur.net/cgi-bin/mailman/listinfo/i3-discuss
or, via email, send a message with subject or body 'help' to
        i3-discuss-requ...@i3.zekjur.net

You can reach the person managing the list at
        i3-discuss-ow...@i3.zekjur.net

When replying, please edit your Subject line so it is more specific than "Re: 
Contents of i3-discuss digest..."


Today's Topics:

   1. Re: Struggling to build i3 4.8 on centos 6.5 - but almost
      there (Sean Reifschneider)
   2. Re: Struggling to build i3 4.8 on centos 6.5 - but almost
      there (Sargrad, Dave)
   3. Re: Struggling to build i3 4.8 on centos 6.5 - but almost
      there (Johannes Lange)
   4. Re: Struggling to build i3 4.8 on centos 6.5 - but almost
      there (Sargrad, Dave)


----------------------------------------------------------------------

Message: 1
Date: Tue, 28 Oct 2014 08:03:58 -0600
From: Sean Reifschneider <j...@jafo.ca>
To: i3-discuss@i3.zekjur.net
Subject: Re: [i3] Struggling to build i3 4.8 on centos 6.5 - but
        almost there
Message-ID: <544fa24e.4040...@jafo.ca>
Content-Type: text/plain; charset=utf-8

On 10/28/14 06:46, Sargrad, Dave wrote:
> I am very close to building i3 4.8 on centos 6.5, and will post my procedures 
> once I get them to be clean. I’ve successfully built i3 4.8 in the past on 
> ubuntu 14.04, but am now moving to centos 6.5.

Have you tried getting the Rawhide SRPM and building it?

http://mirrors.tummy.com/pub/fedora.redhat.com/fedora/linux/development/rawhide/source/SRPMS/i/i3-4.8-5.fc22.src.rpm

Then use "rpmbuild --rebuild i3-4.8-5.fc22.src.rpm".

That's what I did to get 4.8 built on my Ubuntu system, but back-porting the 
dpkg instead of the SRPM.

Leverage the work other's have already done.

Sean


------------------------------

Message: 2
Date: Tue, 28 Oct 2014 14:07:19 +0000
From: "Sargrad, Dave" <dave.sarg...@saabsensis.com>
To: "i3-discuss@i3.zekjur.net" <i3-discuss@i3.zekjur.net>
Subject: Re: [i3] Struggling to build i3 4.8 on centos 6.5 - but
        almost there
Message-ID:
        <85ea6f68ac24da48b220ebea7a8c08b81b523...@corpmail01.corp.sensis.com>
Content-Type: text/plain; charset="utf-8"

Johannes,

Thanks again for helping me past that compile issue.



I am now attempting to link. I got past a problem with a spurious -l by 
changing how I disabled pango.



Apparently the proper way to disable pango is as follows (common.mk snippet):



#PANGO_CFLAGS := $(call cflags_for_lib, cairo)

#PANGO_CFLAGS += $(call cflags_for_lib, pangocairo)

I3_CPPFLAGS  += -DPANGO_SUPPORT=0

#PANGO_LIBS   := $(call ldflags_for_lib, cairo)

#PANGO_LIBS   += $(call ldflags_for_lib, pangocairo)



The link issue I am seeing is an undefined xcb symbol:


[i3] Link i3
/usr/lib64/libxcb-render.so.0: undefined reference to `xcb_str_sizeof'
collect2: ld returned 1 exit status
make: *** [i3] Error 1



I found the following online:

http://www.murga-linux.com/puppy/viewtopic.php?t=95934&sid=ca175185bed9514c33942f4795f29892



Here it was suggested that –rdynamic be added to the link options. This did not 
work for me.



Which library should contain this symbol?









-----Original Message-----
From: i3-discuss [mailto:i3-discuss-boun...@i3.zekjur.net] On Behalf Of 
i3-discuss-requ...@i3.zekjur.net
Sent: Tuesday, October 28, 2014 9:09 AM
To: i3-discuss@i3.zekjur.net
Subject: i3-discuss Digest, Vol 54, Issue 10



Send i3-discuss mailing list submissions to

      i3-discuss@i3.zekjur.net<mailto:i3-discuss@i3.zekjur.net>



To subscribe or unsubscribe via the World Wide Web, visit

      http://infra.in.zekjur.net/cgi-bin/mailman/listinfo/i3-discuss

or, via email, send a message with subject or body 'help' to

      i3-discuss-requ...@i3.zekjur.net<mailto:i3-discuss-requ...@i3.zekjur.net>



You can reach the person managing the list at

      i3-discuss-ow...@i3.zekjur.net<mailto:i3-discuss-ow...@i3.zekjur.net>



When replying, please edit your Subject line so it is more specific than "Re: 
Contents of i3-discuss digest..."





Today's Topics:



   1. Struggling to build i3 4.8 on centos 6.5 - but almost there

      (Sargrad, Dave)

   2. Re: Struggling to build i3 4.8 on centos 6.5 - but almost

      there (Johannes Lange)





This message is intended only for the addressee and may contain information 
that is company confidential or privileged. Any technical data in this message 
may be exported only in accordance with the U.S. International Traffic in Arms 
Regulations (22 CFR Parts 120-130) or the Export Administration Regulations (15 
CFR Parts 730-774). Unauthorized use is strictly prohibited and may be 
unlawful. If you are not the intended recipient, or the person responsible for 
delivering to the intended recipient, you should not read, copy, disclose or 
otherwise use this message. If you have received this email in error, please 
delete it, and advise the sender immediately.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://infra.in.zekjur.net/pipermail/i3-discuss/attachments/20141028/ec4086c5/attachment-0001.html>

------------------------------

Message: 3
Date: Tue, 28 Oct 2014 15:55:04 +0100
From: Johannes Lange <johannes.la...@rwth-aachen.de>
To: <i3-discuss@i3.zekjur.net>
Subject: Re: [i3] Struggling to build i3 4.8 on centos 6.5 - but
        almost there
Message-ID: <544fae48.3010...@rwth-aachen.de>
Content-Type: text/plain; charset="utf-8"

The message says, that libxcb-render misses a link already, right? So it's not 
the problem in the i3-compile step, if I understand that correctly.

Did you check the following?
$ ldd /usr/lib64/libxcb-render.so
        linux-vdso.so.1 =>  (0x00007ffff61ff000)
        libxcb.so.1 => /usr/lib64/libxcb.so.1 (0x00007fa7c9398000)
        libXau.so.6 => /usr/lib64/libXau.so.6 (0x00007fa7c9194000)
        libc.so.6 => /lib64/libc.so.6 (0x00007fa7c8e00000)
        /lib64/ld-linux-x86-64.so.2 (0x00007fa7c97d2000)


On 28/10/14 15:07, Sargrad, Dave wrote:
> Johannes,
> 
> Thanks again for helping me past that compile issue.
> 
> 
> 
> I am now attempting to link. I got past a problem with a spurious -l by 
> changing how I disabled pango.
> 
> 
> 
> Apparently the proper way to disable pango is as follows (common.mk snippet):
> 
> 
> 
> #PANGO_CFLAGS := $(call cflags_for_lib, cairo)
> 
> #PANGO_CFLAGS += $(call cflags_for_lib, pangocairo)
> 
> I3_CPPFLAGS  += -DPANGO_SUPPORT=0
> 
> #PANGO_LIBS   := $(call ldflags_for_lib, cairo)
> 
> #PANGO_LIBS   += $(call ldflags_for_lib, pangocairo)
> 
> 
> 
> The link issue I am seeing is an undefined xcb symbol:
> 
> 
> [i3] Link i3
> /usr/lib64/libxcb-render.so.0: undefined reference to `xcb_str_sizeof'
> collect2: ld returned 1 exit status
> make: *** [i3] Error 1
> 
> 
> 
> I found the following online:
> 
> http://www.murga-linux.com/puppy/viewtopic.php?t=95934&sid=ca175185bed
> 9514c33942f4795f29892
> 
> 
> 
> Here it was suggested that –rdynamic be added to the link options. This did 
> not work for me.
> 
> 
> 
> Which library should contain this symbol?
> 
> 
> 
> 
> 
> 
> 
> 
> 
> -----Original Message-----
> From: i3-discuss [mailto:i3-discuss-boun...@i3.zekjur.net] On Behalf 
> Of i3-discuss-requ...@i3.zekjur.net
> Sent: Tuesday, October 28, 2014 9:09 AM
> To: i3-discuss@i3.zekjur.net
> Subject: i3-discuss Digest, Vol 54, Issue 10
> 
> 
> 
> Send i3-discuss mailing list submissions to
> 
>       i3-discuss@i3.zekjur.net<mailto:i3-discuss@i3.zekjur.net>
> 
> 
> 
> To subscribe or unsubscribe via the World Wide Web, visit
> 
>       http://infra.in.zekjur.net/cgi-bin/mailman/listinfo/i3-discuss
> 
> or, via email, send a message with subject or body 'help' to
> 
>       
> i3-discuss-requ...@i3.zekjur.net<mailto:i3-discuss-request@i3.zekjur.n
> et>
> 
> 
> 
> You can reach the person managing the list at
> 
>       
> i3-discuss-ow...@i3.zekjur.net<mailto:i3-discuss-ow...@i3.zekjur.net>
> 
> 
> 
> When replying, please edit your Subject line so it is more specific than "Re: 
> Contents of i3-discuss digest..."
> 
> 
> 
> 
> 
> Today's Topics:
> 
> 
> 
>    1. Struggling to build i3 4.8 on centos 6.5 - but almost there
> 
>       (Sargrad, Dave)
> 
>    2. Re: Struggling to build i3 4.8 on centos 6.5 - but almost
> 
>       there (Johannes Lange)
> 
> 
> 
> 
> 
> This message is intended only for the addressee and may contain information 
> that is company confidential or privileged. Any technical data in this 
> message may be exported only in accordance with the U.S. International 
> Traffic in Arms Regulations (22 CFR Parts 120-130) or the Export 
> Administration Regulations (15 CFR Parts 730-774). Unauthorized use is 
> strictly prohibited and may be unlawful. If you are not the intended 
> recipient, or the person responsible for delivering to the intended 
> recipient, you should not read, copy, disclose or otherwise use this message. 
> If you have received this email in error, please delete it, and advise the 
> sender immediately.
> 


------------------------------

Message: 4
Date: Tue, 28 Oct 2014 16:00:01 +0000
From: "Sargrad, Dave" <dave.sarg...@saabsensis.com>
To: "i3-discuss@i3.zekjur.net" <i3-discuss@i3.zekjur.net>
Subject: Re: [i3] Struggling to build i3 4.8 on centos 6.5 - but
        almost there
Message-ID:
        <85ea6f68ac24da48b220ebea7a8c08b81b523...@corpmail01.corp.sensis.com>
Content-Type: text/plain; charset="utf-8"

Well,
1]
I do not pretend to understand this, but I “fixed” the link issue. Though my 
fix leaves me a tiny bit squeamish. I was able to get past the linker error 
with this modification to common.mk:

LDFLAGS ?= $(as_needed_LDFLAG) -u xcb_str_sizeof

Can someone please help me to understand what –u actually did? Is it a safe 
modification?

I’ll note that inside /usr/lib64 is an older version of libxcb (1.8). It is 
there only because I needed to do the following (libX11-devel depends on 
libxcb):
yum install libX11-devel

My concern is to ensure that the newer versions of the libxcb stuff (that I 
compiled) overrides the old stuff found in /usr/lib64.

2]
Other changes that I made to common.mk include:
I3_CFLAGS  = -std=c99 -I/usr/local/cwp/include LIBS = -L$(TOPDIR) -li3 -lm 
-L/usr/local/cwp/lib

Is there an environment variable that I could have defined which would have 
prevented the need for these last two lines?

3]
Last question relates to some of the libxcb elements that I did not seem to 
have to build. These include:
xcb-proto, xcb-util-image, xcb-util-renderutil

The fact that I did not have to build these seems odd. Should I have built them 
for completeness? I’ll also note two libraries that I had to build, which were 
not listed in DEPENDS: xcb-util-wm and xcb-util-keysyms.

4]
As mentioned I will fully publish my procedures, once I scrub them. I will 
stand up a new box and go step by step through my procedures, at that point I 
will put them online.

I’m about to try to give i3 a run now that it is built… fingers crossed.

From: Sargrad, Dave
Sent: Tuesday, October 28, 2014 10:07 AM
To: i3-discuss@i3.zekjur.net
Subject: RE: Struggling to build i3 4.8 on centos 6.5 - but almost there


Johannes,

Thanks again for helping me past that compile issue.



I am now attempting to link. I got past a problem with a spurious -l by 
changing how I disabled pango.



Apparently the proper way to disable pango is as follows (common.mk snippet):



#PANGO_CFLAGS := $(call cflags_for_lib, cairo)

#PANGO_CFLAGS += $(call cflags_for_lib, pangocairo)

I3_CPPFLAGS  += -DPANGO_SUPPORT=0

#PANGO_LIBS   := $(call ldflags_for_lib, cairo)

#PANGO_LIBS   += $(call ldflags_for_lib, pangocairo)



The link issue I am seeing is an undefined xcb symbol:


[i3] Link i3
/usr/lib64/libxcb-render.so.0: undefined reference to `xcb_str_sizeof'
collect2: ld returned 1 exit status
make: *** [i3] Error 1



I found the following online:

http://www.murga-linux.com/puppy/viewtopic.php?t=95934&sid=ca175185bed9514c33942f4795f29892



Here it was suggested that –rdynamic be added to the link options. This did not 
work for me.



Which library should contain this symbol?













This message is intended only for the addressee and may contain information 
that is company confidential or privileged. Any technical data in this message 
may be exported only in accordance with the U.S. International Traffic in Arms 
Regulations (22 CFR Parts 120-130) or the Export Administration Regulations (15 
CFR Parts 730-774). Unauthorized use is strictly prohibited and may be 
unlawful. If you are not the intended recipient, or the person responsible for 
delivering to the intended recipient, you should not read, copy, disclose or 
otherwise use this message. If you have received this email in error, please 
delete it, and advise the sender immediately.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://infra.in.zekjur.net/pipermail/i3-discuss/attachments/20141028/e9d950d3/attachment.html>

------------------------------

Subject: Digest Footer

_______________________________________________
i3-discuss mailing list
i3-discuss@i3.zekjur.net
http://infra.in.zekjur.net/cgi-bin/mailman/listinfo/i3-discuss


------------------------------

End of i3-discuss Digest, Vol 54, Issue 11
******************************************
-
This message is intended only for the addressee and may contain information 
that is company confidential or privileged.  Any technical data in this message 
may be exported only in accordance with the U.S. International Traffic in Arms 
Regulations (22 CFR Parts 120-130) or the Export Administration Regulations (15 
CFR Parts 730-774). Unauthorized use is strictly prohibited and may be 
unlawful. If you are not the intended recipient, or the person responsible for 
delivering to the intended recipient, you should not read, copy, disclose or 
otherwise use this message. If you have received this email in error, please 
delete it, and advise the sender immediately. 
-          

Reply via email to