# Error Compiling

**URL:** <https://forums.plex.tv/t/error-compiling/16110>\
**Category:** Dev/API Corner\
**Tags:** other-dev\
**Created:** [March 30, 2012, 6:35pm UTC](https://forums.plex.tv/t/error-compiling/16110 "2012-03-30T18:35:45Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [March 30, 2012, 6:35pm UTC](https://forums.plex.tv/t/error-compiling/16110/1 "2012-03-30T18:35:45Z")

</div>

Lion Issue?
Are there any differences I need to be aware of to compile Plex on Lion? I am trying to follow [these](http://wiki.plexapp.com/index.php/How\_to\_Compile) instructions, but cannot get past the installation of Samba3.  
  
The initial instructions are:  
  
mkdir Samba3  
mkdir Samba3/files  
cd Samba3  
curl http://trac.macports.org/export/34870/trunk/dports/net/samba3/Portfile \>Portfile  
curl http://trac.macports.org/export/34870/trunk/dports/net/samba3/files/patch-source\_smbd\_utmp\_c.diff \> files/patch-source\_smbd\_utmp\_c.diff  
sudo port install  
  
But there is a note that these might fail. Am I not supposed to cd anywhere before doing this? So I just make the Samba3 directory at /Users/MyName/?   
  
The instructions say that if this fails, navigate to /opt/local/var/macports/build/.../work/samba-3.0.28a/source, so I cd into that, and run "sudo make".  
  
I wait until   
  
Building include/proto.h  
creating /opt/local/var/macports/build/\_Users\_Sean\_Samba3/samba3/work/samba-3.0.28a/source/include/proto.h  
Compiling dynconfig.c  
  
Since it moved onto dynconfig,c, I assume that proto.h is built, so I ctrl-z to cancel the make and cd back to ~/Samba3 and run sudo port install again. It gets to "Building Samba3", where says "Error: Status 1 encountered during processing." The log is attached, but it's a bit lengthy as I've run this a few times.   
  
Since I haven't seen anyone else comment about this, I'm assuming it's either me doing something basic wrong (which is very likely) or it has something to do with Lion, as I've seen no mention of compiling on it yet.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [March 31, 2012, 9:59pm UTC](https://forums.plex.tv/t/error-compiling/16110/2 "2012-03-31T21:59:32Z")

</div>

Out of curiosity, are the developers still using the old version of Samba3 in plex 0.9.5?

---

<div class="post-metadata">

**Author:** ![Thor263](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/thor263/32/334_2.png) [@Thor263](https://forums.plex.tv/u/Thor263)\
**Post date:** [April 4, 2012, 5:31pm UTC](https://forums.plex.tv/t/error-compiling/16110/3 "2012-04-04T17:31:21Z")

</div>

Try this instead - [fetch and build dependencies](http://forums.plexapp.com/index.php/topic/22021-issues-compiling-plex-on-snow-leopard/page __view__ findpost __p__ 206338).

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [April 6, 2012, 7:41pm UTC](https://forums.plex.tv/t/error-compiling/16110/4 "2012-04-06T19:41:39Z")

</div>

Just cd into the directory and run “python bootstrap.py”?  
  
  
  
When I do this, I receive the following the error:  
  
  
  
$ python bootstrap.py  
  
-\> Updating submodules  
  
…Command failed: “git submodule update --init”  
  
Output: fatal: Not a git repository (or any of the parent directories): .git

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [December 20, 2019, 9:46pm UTC](https://forums.plex.tv/t/error-compiling/16110/5 "2019-12-20T21:46:59Z")

</div>

Closed on December 20, 2019, 9:46pm UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
